Now that I think of it there are several APIs (org.w3c.dom.xpath for example) bundled in xml-apis.jar which are not included in the JAXP 1.3 specification (and by extension Java 5) that Xerces and Xalan depend on. Sun may have shipped them but there's no guarantee that they'll be there.
Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Bradley Wagner <[EMAIL PROTECTED]> wrote on 04/16/2008 09:55:24 AM: > Thanks for the quick response. If I understand you correctly, xml-apis > is an improvement rather than a true requirement when running with > Java 5.0. > > All of the interfaces, classes that are implemented or subclassed by > Xalan are available with Java 5 so I would not run into any class > loading (ClassNotFoundException) errrors. > > Bradley > > On Apr 16, 2008, at 9:47 AM, Michael Glavassevich wrote: > > > Hi Bradley, > > > > xml-apis.jar contains bug fixes (and even performance improvements) > > [1] > > which may not be in Java 5 so you may be trading these off by not > > carrying > > the jar with your application. > > > > Thanks. > > > > [1] > > http://xml.apache.org/commons/changes.html#version_xml-commons- > external-1.3.04 > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [EMAIL PROTECTED] > > E-mail: [EMAIL PROTECTED] > > > > Bradley Wagner <[EMAIL PROTECTED]> wrote on 04/16/2008 > > 09:26:48 > > AM: > > > >> Hi, > >> > >> Let me preface this by saying that I'm sure this has been answered > >> somewhere, but I searched the list archives and read what the Xalan J > >> documentation. > >> > >> Is the xml-apis.jar still a dependency when running in Java 1.5? > >> Seems > >> like the JAXP classes that are needed come with the JVM now. Are > >> there > >> other things outside the JAXP 1.3 spec that are provided in this xml- > >> apis.jar that I need? > >> > >> I have an application with Xalan running it already and I know that > >> it > >> does not have any problem, compiling or deploying so far without xml- > >> apis.jar in there. I've also tried some basic transformations. > >> > >> Thanks, > >> Bradley