JRE 1.4, JAXP, and XERCES vs CRIMSON - How is this possible?
843834Mar 25 2002 — edited Apr 7 2003Windows W2K, I am using JDK1.4 and JAXP.
DocumentBuilderFactory.newInstance is returning an instance of org.apache.xerces.jaxp.DocumentBuilderImpl, which in turn allows me to do Schema validation and use org.apache.xml.serialize to output XML.
The question is, how is this possible? The default is supposed to be the Crimson packaged with the JDK/JRE.
- javax.xml.parsers.DocumentBuilderFactory is not defined
- I have no jaxp.properties file
- There is no xerces.jar in my classpath
Why/how is Java deciding to use xerces, and once it decides to use it, where on earth is it finding it?
I would like xerces to be the default so I don't have to distribute it with my application, but it isn't supposed to be.
What I am missing?
... Roger