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>

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?

Akinori ITO / Fujitsu Co, Ltd. Tokyo, Japan
E-mail : akito@candy.paso.fujitsu.co.jp
Received on Wednesday, 4 November 1998 11:30:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC