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

Re: Including schemas with no targetnamespace

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 15 Oct 2001 18:46:46 +0100
To: Jeff Lowery <jlowery@scenicsoft.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b669gzth5.fsf@cogsci.ed.ac.uk>
Briefly, all of 'name' (when global), 'ref', 'type' and 'base' are
converted to the <include>ing namespace during a chameleon include --
otherwise it would be pretty useless, in that the <include>d schema
couldn't reference its own elements, use its own types, etc.

Another way to think of it is that the schema is built, connections
made, etc., and _then_ <include>d.  <include> is _not_ a textual
inclusion, it is specified and must be implemented at the component

So your schemas are fine as written.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Monday, 15 October 2001 13:46:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:53 UTC