[
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
|