W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

setNamedItemNS(namespaceURI, localName)

From: Joe D Willliams <JOEDWIL@earthlink.net>
Date: Wed, 24 Jan 2001 21:25:49 -0500 (EST)
Message-ID: <031001c08675$8f2a8d00$baf0fc9e@a>
To: <www-dom@w3.org>
Justin >error in the JAXP 1.1.ea2 method definition for NamedNodeMap.
setNamedItemNS

yes!
org.w3c.dom
Interface NamedNodeMap should be:

setNamedItemNS(namespaceURI, localName)

Don> Joe might want to look at it too.
Yes. please look at:

http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1780488922

  // Introduced in DOM Level 2:
  Node               setNamedItemNS(in Node arg)
                                        raises(DOMException);

should be:

  Node               setNamedItemNS(in DOMString namespaceURI,
                                    in DOMString localName);
                                        raises(DOMException);


base\jaxp-1_1-ea2\jaxp-1.1ea2\docs\api\org\w3c\dom\NamedNodeMap.html

follows that bad lead.
You just will not be able to setNamedItemNS with Node arg.
Received on Wednesday, 24 January 2001 22:22:29 GMT

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