Runs the test case.
Document doc;
NamedNodeMap entities;
DocumentType docType;
Node retval;
doc = (Document) load("hc_staff", true);
docType = doc.getDoctype();
if (
!(("text/html".equals(getContentType())))
) {
assertNotNull("docTypeNotNull", docType);
entities = docType.getEntities();
assertNotNull("entitiesNotNull", entities);
try {
retval = entities.removeNamedItemNS("http://www.w3.org/1999/xhtml", "alpha");
fail("throw_NO_MOD_OR_NOT_FOUND_ERR");
} catch (DOMException ex) {
switch (ex.code) {
case 7 :
break;
case 8 :
break;
default:
throw ex;
}
}
}