public DocumentFragment parseFragment() throws ParseException {
  return parseFragment(makeDocument(findDoctype(),null,domImpl));
}

public DocumentFragment parseFragment ( ) throws ParseException { return parseFragment ( makeDocument ( findDoctype ( ) , null , domImpl ) ) ; }
parses a snippet of markup . the snippet need not be a single element as in an xml or html document . for html , this will create no implied html , head , or body elements . if there is a doctype , it will be used to seed the default namespace .
