Runs the test case.
Document doc;
NodeList elementList;
Element addrNode;
Attr addrAttr;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagName("emp:address");
addrNode = (Element) elementList.item(0);
assertNotNull("empAddrNotNull", addrNode);
addrAttr = addrNode.getAttributeNode("emp:domestic");
{
boolean success = false;
try {
addrAttr.setPrefix("xmlns");
} catch (DOMException ex) {
success = (ex.code == DOMException.NAMESPACE_ERR);
}
assertTrue("throw_NAMESPACE_ERR", success);
}