Added system property org.apache.pluto.useJaxp with a default value of true. When true, Castor is instructed to use JAXP instead of the parser defined by org.exolab.castor.parser. The reason this is hard-coded versus using a castor.properties file is because the castor.properties file would go into a shared classloader which may adversely affect other applications that rely on Castor (for an example see
In Pluto 1.2.x, the default value of org.apache.pluto.useJaxp is set to "true", so Pluto will by default use JAXP. This means that we shouldn't need to have XML libraries in <tomcat>/common/endorsed for example. Pluto 1.2.x no longer has a dependency on Xerces or the older XML apis.
In the Pluto 1.1.x branch (1.1.4+), the default value of org.apache.pluto.useJaxp is set to "false", so by default Pluto will behave as it always has - using XML libraries in <tomcat>/common/endorsed.
The default value of org.apache.pluto.useJaxp can be overridden. The user is responsible for ensuring the proper location and version of the XML libraries.