Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "David Megginson" <david.megginson@-----.--->
To: xml-dev <xml-dev@-----.---.--->
Date: 7/16/2007 9:24:00 PM
On 16/07/07, Mattio Valentino <mattio.valentino@g...> wrote:

> 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?

I could hurl all kinds of metrics at you, but they all come down to
the same question, which you've already touched on -- "more complex"
for which audience?

1. People or programs *producing* documents?

2. People or programs *processing* documents?

A document model is always a tradeoff in complexity between these two
groups, since more options make documents easier to write but harder
to process, while fewer options make documents harder to write but
easier to process.  You probably have to develop two separate answers
to your question.


All the best,


David


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