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

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

From: Akinori ITO <akito@candy.paso.fujitsu.co.jp>
Date: Wed, 4 Nov 1998 07:12:15 -0500 (EST)
Message-Id: <199811041212.VAA05778@cream.candy.paso.fujitsu.co.jp>
To: <www-dom@w3.org>
Cc: <akito@candy.paso.fujitsu.co.jp>
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 11:30:48 GMT

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