Re: Round 2: How an XML instance document references an XML Schema
At 09:22 04/01/00 -0500, "Roger L. Costello" <costello@m...> wrote: >There has been a considerable amount of discussion (and confusion) on >how an XML instance document indicates the XML Schema(s) that it >conforms to. I am not sure that it is yet clear in people's minds on >how to do it. I will take a stab at explaining it, based upon the >discussions. (snip very helpful exposition) I'm still struggling, however to understand how this is all intended to work in an environment which is not continuously connected to the internet. Even on machines which are themseleves well connected, it's surely unacceptable to have one's data become unusable because the machine in Outer Mongolia which holds the schema has crashed. Note that this is not just a matter of validation, because the schema can supply default attribute values. The data can become meaningless in the absence of a schema. I'd hoped to find a statement such as "a general-purpose schema-aware processor must provide some catalogue facility which allows the specification of a location from which to fetch the schema corresponding to an NS URI. Only in the absence of such a catalogue entry may the processor attempt to dereference the URI given by the schemaLocation attribute". I'm also puzzled about the semantics of a namespace declaration without a corresponding schemaLocation attribute. Does it mean: (a) Names in the namespace do not have an association to a schema. No validation is to be performed (and no attribute defaults are to be supplied). (b) Unless the processor provides some alternative method of locating the applicable schema, then the data cannot be interpreted and an error occurs. -- Cheers, John xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format