[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Measure the complexity of one DTD versus another?

  • From: "Michael Kay" <mike@s...>
  • To: "'Mattio Valentino'" <mattio.valentino@g...>,<xml-dev@l...>
  • Date: Mon, 16 Jul 2007 22:45:51 +0100

RE:  Measure the complexity of one DTD versus another?
It all depends why you want to measure it. The metric is presumably supposed
to be a predictor of something, and you need to know what. 

From my viewpoint, a DTD is complex if it makes extensive use of parameter
entities - but from another viewpoint, it's much simpler than the equivalent
DTD with all the PEs fully expanded.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Mattio Valentino [mailto:mattio.valentino@g...] 
> Sent: 16 July 2007 22:01
> To: xml-dev@l...
> Subject:  Measure the complexity of one DTD versus another?
> 
> I was asked an interesting question on Friday.  Is there a 
> way to measure the complexity of our new DTD versus our old DTD?
> 
> I haven't come up with anything too concrete.  Our new DTD 
> has far fewer tags, but it's more rigid.  Based on that, I'd 
> say the new is less complex.  Unfortunately, I think the real 
> issue is that because it's more rigid, it's harder for 
> off-shore companies to convert large quantities of documents 
> to the new DTD simply because it doesn't accept as much 
> "garbage" tagging.
> 
> Has anyone else answered such a question?  How did you do it?
> 
> Thanks,
> Mattio
> 
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l... List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.