Runs the test case.
Document doc;
NodeList acronymList;
Node testNode;
NamedNodeMap attributes;
Attr titleAttr;
String value;
Node newChild;
Node retval;
Node lastChild;
doc = (Document) load("hc_staff", true);
acronymList = doc.getElementsByTagName("acronym");
testNode = acronymList.item(3);
attributes = testNode.getAttributes();
titleAttr = (Attr) attributes.getNamedItem("title");
newChild = doc.createElement("terday");
{
boolean success = false;
try {
retval = titleAttr.appendChild(newChild);
} catch (DOMException ex) {
success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR);
}
assertTrue("throw_HIERARCHY_REQUEST_ERR", success);
}