Re: Question about xs:import

Actually, I think Jeni's answer is right in practice, but not in theory 
(and that's rare, she's usually right all around.)  schemaLocations are 
hints.  So if you have two for a given namespace in the instance, your 
schema processor is free to follow one, the other, both, or neither.  In 
practice, most processors would follow at most the first.   Furthermore, 
it would be illegal to have conflicting definitions or declarations, so 
unless you'd carefully written the two documents to be imported together, 
it's unlikely that processing would proceed without error as the second 
one was brought in.  I don't believe it's strictly an error to put 
together schemas for the same namespace from multiple documents, but any 
uses I can imagine would be highly specialized and would be unlikely to be 
implemented in the sort of "off the shelf" validators that most of us are 
using.  Thanks very much.

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------

Received on Tuesday, 24 September 2002 09:44:50 UTC