}
org.apache.xml.security.Init.init();
xmlInputFactory = XMLInputFactory.newInstance();
xmlInputFactory.setEventAllocator(new XMLSecEventAllocator());
String filename = "org/w3c/www/interop/xmlenc-core-11/plaintext.xml";
DocumentBuilder db = XMLUtils.createDocumentBuilder(false);
Document doc = db.parse(this.getClass().getClassLoader().getResourceAsStream(filename));