Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

For the DLP Infrastructure Project, we have not yet defined a set of supported versions of various libraries, but here is what is currently in use:

  • Tomcat 5.5, with the following flags:
    • -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    • -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
    • -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
    • -Djavax.xml.xpath.XPathFactory=net.sf.saxon.xpath.XPathFactoryImpl
    • -Xmx1536M

      Beware that even though -Djavax.xml.xpath.XPathFactory=net.sf.saxon.xpath.XPathFactoryImpl is specified, you must instantiate the Saxon XPath Factory with the NamespaceConstant.OBJECT_MODEL_SAXON parameter. The normal operation "XPathFactory factory = XPathFactory.newInstance()" just won't cut it, you must state "XPathFactory factory = XPathFactory.newInstance(NamespaceConstant.OBJECT_MODEL_SAXON)".

  • No labels