[jdom-interest] Question on xerces.jar and other helper jars
paul at activemath.org
Wed Aug 3 04:17:01 PDT 2005
Depending on what you need of xerces, you can remove most of it.
saxpath and jaxen are only needed if you do xpath.
How about running your applet or app with -Xverbose:class and seeing
which classes get loaded and then, say, load all packages of these.
For example, xerces has much about dom and html... both of which are
rarely needed by me...
Le 3 août 05, à 03:10, Christian Chua a écrit :
> We released a product that included these four JDOM helpers:
> Also, from the JDOM README file:
>> JDK 1.4 includes XML parser and transformation classes, so if you're
>> using JDK 1.4+ you don't really need to worry about most of the JARs
>> in this directory. However, you might want to add xerces.jar and
>> xml-apis.jar to your classpath so JDOM will use Xerces 2.4.0 instead
>> of the default JDK parser Crimson 1.1. You can also use xalan.jar to
>> use Xalan 2.5_D1 instead of the older Xalan that comes with the JDK.
>> See below.
>> For JDK 1.3 and earlier users, you'll want to add xerces.jar,
>> xml-apis.jar, and xalan.jar to your classpath. Or you can use any
>> third party parser too.
>> All users should add jaxen-core.jar, jaxen-jdom.jar, and saxpath.jar
>> to their classpath to use the XPath features in JDOM.
> We're now trying to reduce the size of our applet archive.
> My questions are:
> - Can we safely remove the four jar files above? and just
> rely on the JRE 1.4.2 rt.jar class files ?
> - What is the difference between Xerces 2.4.0 and Crimson 1.1
> - Would it cause errors to go from Xerces 2.4.0 (in version 1
> of my app) to Crimson 1.1 (in version 2 of my app) ?
> - What is the difference between Xalan 2.5_D1 and the "older
> Xalan that comes with the JDK" ?
> To control your jdom-interest membership:
More information about the jdom-interest