documentrenamenode13
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 "xmlns"and namespaceURI is "http://www.w3.org/XML/1998/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