Search code examples
javaxmlxerces

What is the complete list of configurable properties supported by javax.xml and Xerces?


I am working on tuning a Java application that uses Xerces. I solved some deadlocking by following advice from StackOverflow and blogs to explicitly set a system property to make DocumentBuilder instantiation faster:

System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
    "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

I would like to know what other configurable options are supported by javax.xml generally and by Xerces specifically. I cannot locate this in a manual, user guide, nor JavaDoc. Does a comprehensive list of these options exist?


Solution

  • Googling for "Xerces configuration properties" takes you straight to

    https://xerces.apache.org/xerces-j/

    which has links for "properties" and "features" at the bottom of the page.

    Not sure why you found this difficult.