In order to accomodate the very common case in which xerces is
used with an XSL processor such as xalan, between Xerces 2.0.0 beta 3
and beta 4 a change in the default organization of xerces's jar
files was introduced. As well as the xercesSamples.jar
file, which we still produce, xerces formerly came with a file called
xerces.jar
. This file contained all of the
parser's functionality. Two files are now included:
xercesImpl.jar
, our implementation of various API's,
and xmlParserAPIs.jar
, the API's themselves. This
was done so that, if your XSLT processor ships with API's at the
same level as those supported by Xerces-J, you can avoid putting
xmlParserAPIs.jar
on your classpath.
Should you wish to use the xerces.jar
instead, we have
included several ant targets for backward compatibility. An
"ant target" is an argument given to ant, our build tool,
that tells it which portions of the build.xml
file to
apply.
If you are on a Windows system and you wish to get only the
xerces.jar file, you would execute build.bat
deprecatedjars
.
If you want to regenerate new versions of the xerces
binary, source and tools distributions with the old-style jarfiles,
you would execute build.bat deprecatedall
.
The situation is
analogous for Unix users, except that build.sh
would be
used instead of build.bat
.
For further information and
more options, please look inside build.xml itself; all possibilities
are documented there.