From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- .../level2/core/namednodemapsetnameditemns07.xml | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 test/testcases/tests/level2/core/namednodemapsetnameditemns07.xml (limited to 'test/testcases/tests/level2/core/namednodemapsetnameditemns07.xml') diff --git a/test/testcases/tests/level2/core/namednodemapsetnameditemns07.xml b/test/testcases/tests/level2/core/namednodemapsetnameditemns07.xml new file mode 100644 index 0000000..bfa41ac --- /dev/null +++ b/test/testcases/tests/level2/core/namednodemapsetnameditemns07.xml @@ -0,0 +1,62 @@ + + + + + + +namednodemapsetnameditemns07 +IBM + + The method setNamedItemNS adds a node using its namespaceURI and localName and + raises a INUSE_ATTRIBUTE_ERR Raised if arg is an Attr that is already an + attribute of another Element object. + + Retreieve the attributes of first element whose localName is address into a named node map. + Retreive the attribute whose namespaceURI=http://www.usa.com and localName=domestic + from the NamedNodeMap. Retreieve the attributes of second element whose localName is address + into a named node map. Call the setNamedItemNS method on the second nodemap with the domestic + attribute that was retreived and removed from the first nodeMap as an argument. + Assuming that when an attribute is removed from a nodemap, it still remains in the domtree + his should raise an INUSE_ATTRIBIUTE_ERR. + +Neil Delima +2002-04-28 + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3