W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

method removeNamedItem

From: Nick Levine <nick@harlequin.co.uk>
Date: Wed, 2 Jun 1999 06:10:55 -0400 (EDT)
Message-ID: <37550109.EA783892@harlequin.co.uk>
To: www-dom@w3.org
CC: nick@harlequin.co.uk
Your current specification


states that removeNamedItem returns null if "no node with such a name
exists" and also raises NOT_FOUND_ERR "if there is no node named name in
the map." These statements appear to contradict each other. Can you
clarify this?

Many thanks,

- nick


               Removes a node specified by name. If the removed node is
            an Attr with a default value it is immediately replaced.
                          The name of a node to remove.

               Return Value
                    The node removed from the map or null if no node
            such a name exists.

                         NOT_FOUND_ERR: Raised if there is no node named

            name in the map.
Received on Wednesday, 2 June 1999 06:31:55 UTC

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