OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] UTF-8+names

[ Lists Home | Date Index | Thread Index ]

> I repeat my question, which was 
> not answered yet: Why are only elements and attributes 
> subject to a namespace definition, but not entities? Has this 
> been discussed while preparing the Namespaces REC, and was it 
> decided not to go this way for any good reason? Pointers to 
> mail archives are welcome.

Layering. There is already far too much interaction between the physical
and logical layers of XML, e.g. the rule that tags in an external entity
must be well-balanced. It would ideally be possible to do all the
lexical processing without any interaction with the syntax processing.
The fact that namespaces are not even part of the XML syntax, but a
semantic layer on top, would compound the problem even further.

<a xmlns:foo="&foo:entity"/>

Michael Kay





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS