Runs the test case.
Document doc;
Element element;
Element child1;
Element child2;
Element child3;
Node appendedChild;
NodeList elementList;
String nullNS = null;
doc = (Document) load("staffNS", false);
element = doc.createElementNS("http://www.w3.org/DOM", "root");
child1 = doc.createElementNS("http://www.w3.org/DOM/Level1", "dom:child");
child2 = doc.createElementNS(nullNS, "child");
child3 = doc.createElementNS("http://www.w3.org/DOM/Level2", "dom:child");
appendedChild = element.appendChild(child1);
appendedChild = element.appendChild(child2);
appendedChild = element.appendChild(child3);
elementList = element.getElementsByTagNameNS(nullNS, "child");
assertSize("elementgetelementsbytagnamens04_1", 1, elementList);
elementList = element.getElementsByTagNameNS("*", "child");
assertSize("elementgetelementsbytagnamens04_2", 3, elementList);