OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: John Aldridge <john.aldridge@informatix.co.uk>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 05 Jan 2000 18:49:43 +0000

At 09:22 04/01/00 -0500, "Roger L. Costello" <costello@mitre.org> 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS