Re: meaning of namespace="##other"

"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 UTC