[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

JAXP in debian [was Re: [PROPOSAL] dh_ant]



Hi all

On Thu, 14 Aug 2003 21:39:17 +0200
Jan Schulz <jan@katzien.de> wrote:

libxalan2-java depends on libxerces2-java but you do not need xml-apis.jar AND xmlParserAPIs.jar in your classpath. It's up to the maintainer of the application to know what to do.
This will anyway have to change with the inclusion of a 1.4 JRE: I
think XML APIs are part of the JRE now, isn't it?

mhhh I do have a question about this (even if don't know anything about java packaging for Debian ,Arnaud know that better than me ;-))

It's true that the jdk 1.4 come with JAXP as well as a version of Xalan for the implementation for xslt processing,... and a version of Crimson for SAX and DOM . However, if,for example, I want to use a newer version of xalan or xerces (xml-apis.jar) instead of Crimson (well, any other parser implementing JAXP), you will have to use the endorsement Mechanism.
see:
http://xml.apache.org/xalan-j/faq.html#faq-N100CB
(and specifically the last point)

Apparently, having the jar files in /usr/share/java will become useless or am i wrong? Isn't this a problem for the xml related packages as xerces,saxon,gnu-jaxp,xalan) ???

Xavier








Reply to: