[Home] [By Thread] [By Date] [Recent Entries]


> 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@n...
work: Michael.Kay@s...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member