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

RE: RE: Resctriction problem on complexType

From: <noah_mendelsohn@us.ibm.com>
Date: Mon, 17 Jul 2006 17:09:09 -0400
To: "Michael Kay" <mike@saxonica.com>
Cc: "'Pierre Attar'" <pat@tireme.fr>, xmlschema-dev@w3c.org
Message-ID: <OFE8AFEEA2.C9C695D0-ON852571AE.0073E313-852571AE.00743255@lotus.com>

Mike Kay writes:

> I suspect you've hit one of the cases where the algorithm in 
> the spec fails to allow restrictions that in fact make perfect sense.

Note that there is an excellent chance that Schema 1.1 will be revised to 
allow such seamingly sensible restrictions.  Basically, what's changed 
since Schema 1.0 and Schema 1.1 is that enough smart people have worked 
through the algorithms to the point where we think we can safely say: "if 
the the restricted content model allows no instances (specifically no 
lists of elements to be matched by the content model) disallowed by the 
base, then it's legal".  In the 1.0 timeframe, we knew that's what we 
wanted, but weren't sure it was a practical check for processor builders 
to implement, given the specific features of our content models.  So, look 
for that as a likely change in 1.1.

Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
Received on Monday, 17 July 2006 21:09:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:10 UTC