private void initializeDocumentBuilderFactory() throws ParserConfigurationException {
    dbf.setFeature(SAX_FEATURE_PREFIX + EXTERNAL_GENERAL_ENTITIES_FEATURE, false);
    dbf.setFeature(SAX_FEATURE_PREFIX + EXTERNAL_PARAMETER_ENTITIES_FEATURE, false);
  }
Utility class for all XPath UDFs. Each UDF instance should keep an instance
of this class.
ql/src/java/org/apache/hadoop/hive/ql/udf/xml/UDFXPathUtil.java