Runs the test case.
Document doc;
NodeList elementList;
Node employeeNode;
String namespaceURI;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagName("employee");
employeeNode = elementList.item(1);
namespaceURI = employeeNode.getNamespaceURI();
{
boolean success = false;
try {
employeeNode.setPrefix("employee1");
} catch (DOMException ex) {
success = (ex.code == DOMException.NAMESPACE_ERR);
}
assertTrue("throw_NAMESPACE_ERR", success);
}