Re: Q: reason for '##any' being the default for 'namespace' attribute in 'any' element

Jeni Tennison <jeni@jenitennison.com> writes:

> Hi Christian,
> 
> > We are currently working on a schema in which we want to use the
> > 'any' element in order to allow flexibility. While doing this, we
> > started to ask ourselves why '##any' was chosen as default for the
> > 'namespace' attribute. From our understanding, '##other' would be an
> > option that would keep people closer to the original schema, since
> > it would disallow the appearance of markup from the original
> > namespace in the 'any' element.
> 
> I'm not sure, but I suspect that ##any is the default because it
> provides a better mapping to the DTD syntax:
> 
> <!ELEMENT foo ANY>

That's roughly right, if I remember correctly -- another way of
putting it is that we wanted the unmarked/default case to be the most
general.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Monday, 17 February 2003 08:52:25 UTC