On Apr 16, 2008, at 10:41 AM, bulia byak wrote:
Just don't use XSD. It's wrong to assume that of all schema
languages, this one is in any way special or "official". It's just one
of the many, and a quite poor one at that. As for me, I prefer
Schematron, where such check would be trivial.
After I headed out I thought of mentioning Schematron. From what I can tell Schematron's official position is as an additional supplement to XML Schema or RelaxNG.
And, yes, this sort of check should be trivial in Schematron. Besides, it has such a cute mascot.