W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: Error in NamedNodeMap::removeNamedItem () in DOM (Core) Level1

From: Don Park <donpark@quake.net>
Date: Wed, 4 Nov 1998 11:04:59 -0800
Message-ID: <00d501be0827$37923cb0$2ee044c6@arcot-main>
To: <www-dom@w3.org>
That is an error.  Looking at other methods, I don't think NOT_FOUND_ERR
exception should be thrown.

Don Park

-----Original Message-----
From: Akinori ITO <akito@candy.paso.fujitsu.co.jp>
To: www-dom@w3.org <www-dom@w3.org>
Cc: akito@candy.paso.fujitsu.co.jp <akito@candy.paso.fujitsu.co.jp>
Date: Wednesday, November 04, 1998 8:31 AM
Subject: Error in NamedNodeMap::removeNamedItem () in DOM (Core) Level1

>At method 'removeNamedItem' in Interface 'NamedNodeMap',
>the DOM(Core) Level1 specification states that:
>> Return Values
>>     The node removed from the list or
>>     null if no node with such a name exists.
>> Exceptions
>>     DOMException
>>         NOT_FOUND_ERR:Raised if there is no node named 'name' in the
>In case of no node with a given name, what will happen?
>Akinori ITO / Fujitsu Co, Ltd. Tokyo, Japan
>E-mail : akito@candy.paso.fujitsu.co.jp
Received on Wednesday, 4 November 1998 14:14:31 GMT

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