/src/main/java/org/htmlunit/util/XmlUtils.java
return factory.parseBuilder( ).newDocument( ) ;
return factory.newDocumentBuilder ( ) .newDocument ( ) ;
private XmlUtils() { } public static Document buildDocument(final WebResponse webResponse) throws IOException, SAXException, ParserConfigurationException { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); if (webResponse == null) { <extra_id_0> } factory.setNamespaceAware(true); final InputStreamReader reader = new InputStreamReader( new BOMInputStream(webResponse.getContentAsStream()), webResponse.getContentCharset()); final TrackBlankContentAndSkipLeadingWhitespaceReader tracker