From beac69dde9c1415bfa00add5a11477d64699960c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 6 Aug 2012 11:27:06 +0100 Subject: Enable level2 core test suite, disabling all tests but documentgetelementbyid01 --- .../level2/core/setAttributeNodeNS01.xml.unknown | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 test/testcases/tests/level2/core/setAttributeNodeNS01.xml.unknown (limited to 'test/testcases/tests/level2/core/setAttributeNodeNS01.xml.unknown') diff --git a/test/testcases/tests/level2/core/setAttributeNodeNS01.xml.unknown b/test/testcases/tests/level2/core/setAttributeNodeNS01.xml.unknown new file mode 100644 index 0000000..8239fab --- /dev/null +++ b/test/testcases/tests/level2/core/setAttributeNodeNS01.xml.unknown @@ -0,0 +1,65 @@ + + + + + + +setAttributeNodeNS01 +NIST + + The "setAttributeNode(newAttr)" method raises an + "INUSE_ATTRIBUTE_ERR DOMException if the "newAttr" + is already an attribute of another element. + + Retrieve the first emp:address and append + a newly created element. The "createAttributeNS(namespaceURI,qualifiedName)" + and "setAttributeNodeNS(newAttr)" methods are invoked + to create and add a new attribute to the newly created + Element. The "setAttributeNodeNS(newAttr)" method is + once again called to add the new attribute causing an + exception to be raised since the attribute is already + an attribute of another element. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3