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

Re: meaning of namespace="##other"

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Dec 2000 09:39:52 +0000
To: "Karl Scheibelhofer" <Karl.Scheibelhofer@iaik.at>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bd7f7fbpz.fsf@cogsci.ed.ac.uk>
"Karl Scheibelhofer" <Karl.Scheibelhofer@iaik.at> writes:

> i have a concrete question regarding XML Schema. the namespace attribute in
> the ANY-element type; if i set it to namespace="##other", does it mean that
> just the element itself must be from a other namespace or does this hold for
> it descendants too?

Just the element.  Its descendants will be controlled by _its_ type, if 
any.

> i assume, it is to get a deterministic content model, if a
> ANY-element is mixed with other elements.  isn't it?

That's not the only reason, but it does provide for that, yes.

ht
-- 
  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 Tuesday, 5 December 2000 04:39:58 GMT

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