W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: namespace treatment, 2nd attempt

From: Arnaud Le Hors <lehors@us.ibm.com>
Date: Wed, 08 Mar 2000 18:10:08 -0800
Message-ID: <38C70800.45E2D3C4@us.ibm.com>
To: Dieter Kvhler <dieter.koehler@ppp.uni-bamberg.de>
CC: "www-dom@w3.org" <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT