W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002

duplicate schemalocation keys

From: Xan Gregg <xan@tibco.com>
Date: Fri, 26 Apr 2002 16:50:49 -0400
Message-ID: <339902DC0E58D411986A00B0D03D84320186A0CA@extmail.extensibility.com>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
We recently saw an instance document that supplied multiple schema location
values for the same namespace.  

The document starts:

<p1:envelope
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:p1="http://www.example.org/schemas/ns1" 
  xsi:schemaLocation="
http://www.example.org/schemas/ns1 Envelope.xsd 
http://www.example.org/schemas/ns1 Transaction.xsd 
http://www.example.org/schemas/ns1 Document.xsd 
http://www.example.org/schemas/ns1 Event.xsd">

I know the REC doesn't say what to do, but is there a common practice of how
to handle such locations?  Use first that exists? Combine all that exist?
Ignore all but first?  Give warning?

xan

Xan Gregg
TIBCO Software, Inc.
www.tibco.com 
Received on Friday, 26 April 2002 16:53:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT