Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


xs:include changing targetNamespace

From: "Michael Kay" <mhk@---.--.-->
To: <xmlschema-dev@--.--->
Date: 10/4/2004 7:08:00 PM
Questions about xs:include where the including schema document has a
targetNamespace and the included document does not:

In 4.2.1, Schema Representation Constraint: Inclusion Constraints and
Semantics, rune 3.2.1, [Part 1, PER of 2004-03-18] there is apparently a
typo: "whose code was qualified" should presumably be "whose form was
qualified".

The implication is that the absent namespace should only be replaced by the
target namespace in places where the target namespace would have been used.
This would imply that <xs:element ref="A"/> (assuming there is no default
namespace) is still to be interpreted as a reference to A in the
absent-namespace, not a reference to A in the (new) target namespace, and
that ##local in a wildcard still refers to the absent namespace, not the
(new) target namespace. Correct? (And if so, is this actually usable?)

Is it true that the effect of including a schema document with no target
namespace into a schema document with target namespace T is equivalent to
modifying the included document so that it says targetNamespace="T" before
processing it?
  

Michael Kay
http://www.saxonica.com/


From ht@i... Tue Oct 05 09:19:57 2004
Received


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent