// dbf.setValidating(true); // Needed false to allow use of version 2.4 spec (there should be a way to do this better)
// dbf.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
DocumentBuilder db = dbf.newDocumentBuilder();
db.setEntityResolver(new _EntityResolver());
db.setErrorHandler(new MyFacesErrorHandler(log));
InputSource is = createContextInputSource(null, WEB_XML_PATH);
Document document = db.parse(is);