W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

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

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 17 Feb 2003 13:52:31 +0000
To: Jeni Tennison <jeni@jenitennison.com>
Cc: Christian Lieske <christian_lieske@yahoo.de>, xmlschema-dev@w3.org, christian_lieske@sap.com
Message-ID: <f5bd6lrvwtc.fsf@erasmus.inf.ed.ac.uk>

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 GMT

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