W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2006

RE: Ignore Order while validating XSD

From: Michael Kay <mike@saxonica.com>
Date: Sun, 19 Feb 2006 12:53:09 -0000
To: "'Ramkumar Menon'" <ramkumar.menon@gmail.com>, "'Mukul Gandhi'" <gandhi.mukul@gmail.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <E1FAo3z-0007X1-T2@lisa.w3.org>
 > Is there any special reason why such a simple scenario is so complex to
support witihn XSD ?  
 
I have heard people defend it on the basis that they think it's good
practice to constrain the order of elements, so there is no need for
language facilities that encourage designs in which the order is
unconstrained.
 
I think there's also a history in that the SGML facilities to allow
interleaved orderings proved troublesome, so they were left out of XML DTDs,
and XML Schema wasn't trying to allow more in this area than DTDs allowed.
 
Michael Kay
http://www.saxonica.com/
 
Received on Sunday, 19 February 2006 12:53:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:53 GMT