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

RE: clarification of redefine semantics

From: Michael Kay <mike@saxonica.com>
Date: Sat, 12 Feb 2005 09:57:13 -0000
To: "'James Taylor'" <JTaylor@nextance.com>, <xmlschema-dev@w3.org>
Message-Id: <E1Czu1h-0007N8-00@ukmail1.eechost.net>
RE: clarification of redefine semantics
 
 >  My reading of Schema 1.0 is that it's absolutely unambiguous that if the
combined schema is accepted at all, the redefinition of Address   is
pervasive and applies throughout the schema that results from the transitive
closure of the files referenced from Company.xsd. 
 
The thing that's hopelessly inadequate in the current specs is that they
suggest that you should process each schema document, derive a set of schema
components, and then assemble the components as required by
import/include/redefine. The fact is, you can't do that, because for example
you can't decide what data type a fixed or default value is until all the
components are available: which means you need to keep the original lexical
value (and its namespace context, just in case it turns out to be a QName)
until everything is known (if indeed there *is* a time when everything is
known!). There are other examples of this, for example the effect of
xs:redefine depends on whether the XML representation specifies
form="qualified", which is information that's only available in the XML
representation and not in the component model.
 
So there's no way one can say the current specs are unambiguous in this
area.
 
Michael Kay
http://www.saxonica.com/
 
Received on Saturday, 12 February 2005 09:57:24 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.