SAXParser sax = SAXParserFactory.newInstance().newSAXParser();
Parser parser = (Parser) sax.getParser();
XmlDocumentBuilder builder = new XmlDocumentBuilder();
builder.setIgnoringLexicalInfo(false);
SimpleElementFactory fact = new SimpleElementFactory();
fact.addMapping(_elementMap, ACSFactory.class.getClassLoader());
builder.setElementFactory(fact);
parser.setDocumentHandler(builder);
parser.setEntityResolver(new Resolver());