Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] Measure the complexity of one DTD versus another?

From: "Michael Kay" <mike@--------.--->
To: "'Mattio Valentino'" <mattio.valentino@-----.--->,<xml-dev@-----.---.--->
Date: 7/16/2007 9:46:00 PM
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: [xml-dev] 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
>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent