Re: namespace treatment, 2nd attempt

Dieter Kvhler wrote:
> 
> getNamedItem
> Retrieves a node with the specified name and with a namespaceURI that
> is an empty string or null.  If there is a node with the specified
> name, but a non-empty namespaceURI it returns null.

This would break backwards compatibility with DOM Level 1. Consider the
case, where a DOM Level 1 (i.e. namespace unaware) application processes
a document with namespaces in it, on top of a DOM Level 2
implementation. The implementation namespace aware parser creates all
the nodes with their apropriate namespaceURIs. All of the application
calls to getNamedItem then fail.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Received on Wednesday, 8 March 2000 21:10:05 UTC