My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
FAQ  
FAQ
Featured
Updated Feb 4, 2010 by mathieu....@gmail.com

XmlTool with xercex / xalan

Some libraries override the JDK services used to implement XML and XPath features. This is the case of Xalan/Xerces. To redo the override these libraries do, you can either launch your project with custom system properties specifying the xml implementations to use, or you can do the same thing they do: provide a META-INF/services folder which contains:

  • a file 'javax.xml.transform.TransformerFactory' containing:

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl

  • a file 'javax.xml.xpath.XPathFactory' containing:

com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl

  • a file 'org.apache.xml.dtm.DTMManager' containing:

com.sun.org.apache.xml.internal.dtm.ref.DTMManagerDefault


Sign in to add a comment
Powered by Google Project Hosting