W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2000

schemaLocation referencing multiple schemas with same namespace

From: Roger L. Costello <costello@mitre.org>
Date: Sat, 02 Dec 2000 08:34:37 -0500
Message-ID: <3A28FA6D.E5B2C2A2@mitre.org>
To: xmlschema-dev@w3.org
CC: costello@mitre.org
Hi Folks,

Suppose that a schema reuses components from schemas which have the same
namespace, i.e., it uses <include>.  In an instance document is it
invalid to reference all of the schemas in schemaLocation?  

Example.

schemaLocation="http://www.cellphone.org
                Nokia.xsd
                http://www.cellphone.org
                Erikson.xsd
                http://www.cellphone.org
                Motorola.xsd"

This seems a little odd - the namespace http://www.cellphone.org is
defined by Nokia.xsd, then the same namespace is defined by Erikson.xsd,
then it's defined by Motorola.xsd.  /Roger
Received on Saturday, 2 December 2000 08:36:06 GMT

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