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

That is an error.  Looking at other methods, I don't think NOT_FOUND_ERR
exception should be thrown.

Don Park
Docuverse

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


>Hi.
>
>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
list.
>
>In case of no node with a given name, what will happen?
>
>Thanks.
>---
>Akinori ITO / Fujitsu Co, Ltd. Tokyo, Japan
>E-mail : akito@candy.paso.fujitsu.co.jp
>
>

Received on Wednesday, 4 November 1998 14:14:31 UTC