public void testGetElementsByTagNameNS1() throws Throwable {
  Document doc;
  Document newDoc;
  DocumentType docType=null;
  DOMImplementation domImpl;
  NodeList childList;
  String nullNS=null;
  doc=(Document)load("staffNS",builder);
  domImpl=doc.getImplementation();
  newDoc=domImpl.createDocument(nullNS,"root",docType);
  childList=newDoc.getElementsByTagNameNS("*","*");
  assertEquals("documentgetelementsbytagnameNS01",1,childList.getLength());
}

public void testGetElementsByTagNameNS1 ( ) throws Throwable { Document doc ; Document newDoc ; DocumentType docType = null ; DOMImplementation domImpl ; NodeList childList ; String nullNS = null ; doc = ( Document ) load ( "staffNS" , builder ) ; domImpl = doc . getImplementation ( ) ; newDoc = domImpl . createDocument ( nullNS , "root" , docType ) ; childList = newDoc . getElementsByTagNameNS ( "*" , "*" ) ; assertEquals ( "documentgetelementsbytagnameNS01" , 1 , childList . getLength ( ) ) ; }
runs the test case .
