/src/main/java/org/htmlunit/util/XmlUtils.java
} }throw e;
throw e; } }
return builder.parse(source); } catch (final SAXException e) { if (tracker.wasBlank()) { return factory.newDocumentBuilder().newDocument(); } <extra_id_0> private static final class TrackBlankContentAndSkipLeadingWhitespaceReader extends Reader { private final Reader reader_; private boolean wasBlank_ = true; TrackBlankContentAndSkipLeadingWhitespaceReader(final Reader characterStream) { reader_ = characterStream; }