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: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 17 Feb 2003 13:18:23 +0000
Message-ID: <74178276457.20030217131823@jenitennison.com>
To: Christian Lieske <christian_lieske@yahoo.de>
CC: xmlschema-dev@w3.org, christian_lieske@sap.com

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>

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Monday, 17 February 2003 08:18:41 GMT

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