Runs the test case.
Document doc;
Node element;
Element ownerElement;
Element parentElement;
NodeList elementList;
String ownerElementName;
Attr attr;
Node removedChild;
NamedNodeMap nodeMap;
String nullNS = null;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagNameNS("*", "address");
element = elementList.item(1);
parentElement = (Element) element.getParentNode();
nodeMap = element.getAttributes();
removedChild = parentElement.removeChild(element);
attr = (Attr) nodeMap.getNamedItemNS(nullNS, "street");
ownerElement = attr.getOwnerElement();
ownerElementName = ownerElement.getNodeName();
assertEquals("attrgetownerelement05", "address", ownerElementName);