OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Doctypes again (was Re: [xml-dev] Documents within documen

[ Lists Home | Date Index | Thread Index ]

> Re: "one of the weakest things about DTDs is that a
>      document is considered valid if it meets the
>      sender's criteria, whether or not it meets
>      the recipient's"
> Michael, is that a fair criticism of DTDs per se?

It's a criticism of their role within the architecture. When I parse a
document, I want it to be valid against the DTD that describes my
expectations, I don't care whether it's valid against the DTD that the
document itself nominates. But of course the DTD also contains things that
belong with the document, like entities; so yes, it's a criticism of DTDs
per se.

And I fully agree with Henry: this is one thing that XML Schema got right.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS