Please see comments below
marked with [JMC].
From: Razvan MIHAIU
Sent: Wed 4/27/2005 12:33 AM
Eric van der Vlist
[xml-dev] XSD spec question
I was not aware of this feature before. In fact, if the
above is true, it is not possible to validate an XML Schema (which itself is an
XML document) against a DTD because there is no way to specify in a DTD that an
element can have any attributes.
[JMC] Why would you want to
validate an XML against a DTD, when an XML schema validator will serve this
The obvious question is why would
you need attributes outside the XML Schema specification ?
[JMC] That's actually a
rather unclear question. The XML Schema specification includes the ability to
declare attributes. You declare attributes as you need, as long as your XML
schema conforms to the W3C Schema specification. Sounds like you are thinking
one "meta" layer too far.