bundles/org.apache.jasper.glassfish/src/org/apache/jasper/xmlparser/ParserUtils.java
public TreeNode parseXMLDocument(String uri, InputSource is)
            throws JasperException {
        return parseXMLDocument(uri, is, false);
    }
public TreeNode parseXMLDocument(String uri, InputSource is)
            throws JasperException {
        return parseXMLDocument(uri, is, false);
    }
Parse the specified XML document, and return a <code>TreeNode</code>
that corresponds to the root node of the document tree.

@param uri URI of the XML document being parsed
@param is Input source containing the deployment descriptor

@exception JasperException if an I/O or parsing error has occurred