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/level3/core/documentrenamenode12.xml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 test/testcases/tests/level3/core/documentrenamenode12.xml (limited to 'test/testcases/tests/level3/core/documentrenamenode12.xml') diff --git a/test/testcases/tests/level3/core/documentrenamenode12.xml b/test/testcases/tests/level3/core/documentrenamenode12.xml new file mode 100644 index 0000000..10f8329 --- /dev/null +++ b/test/testcases/tests/level3/core/documentrenamenode12.xml @@ -0,0 +1,50 @@ + + + + + + + +documentrenamenode12 +IBM + + The method renameNode renames an existing node and raises a NAMESPACE_ERR + if the qualifiedName has a prefix and the namespaceURI is null but a + NOT_SUPPORTED_ERR should be raised since the the type of the specified node is + neither ELEMENT_NODE nor ATTRIBUTE_NODE. + + Invoke the renameNode method on this document node to rename a text node such that its + qualifiedName has a prefix that is "xml" and namespaceURI is "http://www.w3.org/XML/1999/namespace". + Check if a NOT_SUPPORTED_ERR gets thrown instead of a NAMESPACE_ERR since the type of node is not valid + for this method. + +Neil Delima +2002-06-10 + + + + + + + + + + + + + + + -- cgit v1.2.3