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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] RE: Namespaces Best Practice




Evan Lenz wrote:

> More significant than an analogy with programming practice is how XPath and
> XSLT model namespaces. For every in-scope namespace binding at a given
> element, there is a namespace node. This has two immediate practical
> implications: 1) performance may degrade as the number of namespace nodes
> proliferates, and 2) any copy of that element into the result tree will
> include all of its namespace nodes.


I think that any sensible Infoset implementation wouldn't
actually allocate storage for each namespace node.
Instead, it would synthesize a list of namespace nodes from
the in-scope namespace declaration nodes on demand.


--Joe English

  jenglish@flightlab.com