public void testCreateDocument3() throws Throwable {
  Document doc;
  DOMImplementation domImpl;
  Document newDoc;
  DocumentType docType=null;
  String namespaceURI="http://www.w3.org/DOMTest/L2";
  String qualifiedName;
  List<String> qualifiedNames=new ArrayList<String>();
  qualifiedNames.add("_:_");
  qualifiedNames.add("_:h0");
  qualifiedNames.add("_:test");
  qualifiedNames.add("l_:_");
  qualifiedNames.add("ns:_0");
  qualifiedNames.add("ns:a0");
  qualifiedNames.add("ns0:test");
  qualifiedNames.add("a.b:c");
  qualifiedNames.add("a-b:c");
  qualifiedNames.add("a-b:c");
  doc=(Document)load("staffNS",builder);
  domImpl=doc.getImplementation();
  for (int indexN1006B=0; indexN1006B < qualifiedNames.size(); indexN1006B++) {
    qualifiedName=(String)qualifiedNames.get(indexN1006B);
    newDoc=domImpl.createDocument(namespaceURI,qualifiedName,docType);
    assertNotNull("domimplementationcreatedocument03",newDoc);
  }
}

public void testCreateDocument3 ( ) throws Throwable { Document doc ; DOMImplementation domImpl ; Document newDoc ; DocumentType docType = null ; String namespaceURI = "http://www.w3.org/DOMTest/L2" ; String qualifiedName ; List < String > qualifiedNames = new ArrayList < String > ( ) ; qualifiedNames . add ( "_:_" ) ; qualifiedNames . add ( "_:h0" ) ; qualifiedNames . add ( "_:test" ) ; qualifiedNames . add ( "l_:_" ) ; qualifiedNames . add ( "ns:_0" ) ; qualifiedNames . add ( "ns:a0" ) ; qualifiedNames . add ( "ns0:test" ) ; qualifiedNames . add ( "a.b:c" ) ; qualifiedNames . add ( "a-b:c" ) ; qualifiedNames . add ( "a-b:c" ) ; doc = ( Document ) load ( "staffNS" , builder ) ; domImpl = doc . getImplementation ( ) ; for ( int indexN1006B = 0 ; indexN1006B < qualifiedNames . size ( ) ; indexN1006B ++ ) { qualifiedName = ( String ) qualifiedNames . get ( indexN1006B ) ; newDoc = domImpl . createDocument ( namespaceURI , qualifiedName , docType ) ; assertNotNull ( "domimplementationcreatedocument03" , newDoc ) ; } }
runs the test case .
