Runs the test case.
Document doc;
NamedNodeMap attributes;
Element docElem;
Element newElem;
Node retval;
doc = (Document) load("hc_staff", true);
docElem = doc.getDocumentElement();
attributes = docElem.getAttributes();
newElem = doc.createElement("html");
{
boolean success = false;
try {
retval = attributes.setNamedItem(newElem);
} catch (DOMException ex) {
success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR);
}
assertTrue("throw_HIERARCHY_REQUEST_ERR", success);
}