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

Re: Round 2: How an XML instance document references an XML Schema

  • From: John Aldridge <john.aldridge@i...>
  • To: xml-dev@i...
  • Date: Wed, 05 Jan 2000 18:49:43 +0000

xml instance document
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.