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 --- .../tests/level2/core/removeAttributeNS02.xml | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 test/testcases/tests/level2/core/removeAttributeNS02.xml (limited to 'test/testcases/tests/level2/core/removeAttributeNS02.xml') diff --git a/test/testcases/tests/level2/core/removeAttributeNS02.xml b/test/testcases/tests/level2/core/removeAttributeNS02.xml new file mode 100644 index 0000000..880e7da --- /dev/null +++ b/test/testcases/tests/level2/core/removeAttributeNS02.xml @@ -0,0 +1,66 @@ + + + + + + +removeAttributeNS02 +NIST + + The "removeAttributeNS(namespaceURI,localName)" removes an attribute by + local name and namespace URI. If the removed attribute has a + default value it is immediately replaced. The replacing attribute has the same + namespace URI and local name, as well as the original prefix. + + Retrieve the attribute named "emp:local" from emp:address + node, then remove the "emp:local" + attribute by invoking the "removeAttributeNS(namespaceURI,localName)" method. + The "emp:local" attribute has a default value defined in the + DTD file, that value should immediately replace the old + value. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3