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

RE: multiple namespaces

From: Michael Kay <mike@saxonica.com>
Date: Mon, 23 Apr 2007 17:31:17 +0100
To: "'Andrew Welch'" <andrew.j.welch@gmail.com>
Cc: <noah_mendelsohn@us.ibm.com>, <xmlschema-dev@w3.org>
Message-ID: <010e01c785c4$d172bbb0$6401a8c0@turtle>

> Ahh ok.  Would there be three instances then: A -> B -> A 
> (two instances of A, so no circular definition) ?

No, the system has to work out when it sees "import A" that it already knows
about A and doesn't need to load it again - just like import in Java. (This
can cause complications if you give a location hint that doesn't match the
URI where the existing A components were loaded from - are you referring to
another copy of the same schema document, or to another schema document for
different components in the same namespace? So it's best to stick to a
one-to-one relationship between schema documents and namespaces if you can.)

Michael Kay
Received on Monday, 23 April 2007 16:31:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC