[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: RE: Resctriction problem on complexType

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
1-617-693-4036
--------------------------------------
Received on Monday, 17 July 2006 21:09:20 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.