I’m sorry if this has been asked before, but both the archives and its mirror are down.
I’m having trouble with Xerces and the parsers that come with jdk1.41. Even if I give the fully qualified name for a document builder, it seems java chooses to use the one that comes with Xerces:
<code> javax.xml.parsers.DocumentBuilderFactory dbf = javax.xml.parsers.DocumentBuilderFactory.newInstance(); javax.xml.parsers.DocumentBuilder builder = null; </code>
<generates (java –verbose) with xerces-1.4.3.jar in classpath> [Loaded org.apache.xerces.jaxp.DocumentBuilderFactoryImpl] [Loaded org.apache.xerces.jaxp.DocumentBuilderImpl] </generates>
<generates w/out xerces in classpath> [Loaded javax.xml.parsers.DocumentBuilderFactory from c:\Projects\Library\j2sdk1.4.1_02\jre\lib\rt.jar] [Loaded org.apache.crimson.jaxp.DocumentBuilderFactoryImpl from c:\Projects\Library\j2sdk1.4.1_02\jre\lib\rt.jar] </generates>
I have no import statements regarding xerces whatsoever. Any suggestions? Thank you,
Alex |
- Xerces vs. jdk1.41 Alex Colomb
- RE: Xerces vs. jdk1.41 Tim Cronin