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

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 UTC