W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2004

RE: "Re: xs:include changing targetNamespace"'

From: Michael Kay <mike@saxonica.com>
Date: Wed, 6 Oct 2004 10:36:40 +0100
To: "'Kasimier Buchcik'" <kbuchcik@4commerce.de>, "'<\"ht@inf.ed.ac.uk\"'" <"Henry S. Thompson"@mail.firmenpost.de>
Cc: <xmlschema-dev@w3.org>
Message-Id: <E1CF8Dz-0007jn-00@ukmail1.eechost.net>

> 
> Does this mean as well, that if a schema document (A) with an 
> existing 
> target namespace includes a schema document (B) with no target 
> namespace, which, in turn, includes a schema document (C), the target 
> namespace of (B) will still be 'absent' when the constraints for 
> including of (C) are applied? IOW, does this chameleon-effect 
> touch the 
> first level of includes only?
> 

My reading is that the components derived from C are copied into the schema
corresponding to B with no change in namespace, but when the components are
then copied into A, the namespace is changed regardless whether they
originated from B or C.

Michael Kay
Received on Wednesday, 6 October 2004 09:36:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC