The xml-apis I have came bundled with JBoss 3.2.7 (admittedly ancient)
and uses the JAXP 1.2 spec as per the JAR's manifest file.
I don't see an org.w3c.dom.xpath package in either my 1.5 JRE classes
or this xml-apis JAR. I do see a org.w3c.dom.xpath package in my Xalan
2.6 JAR but those interfaces don't appear to extend anything that's
not present in my JRE.
It seems to me that the xml-apis I am using is so old that the 1.5 JRE
version of these APIs would preferable anyway.
Bradley
On Apr 16, 2008, at 11:03 AM, Michael Glavassevich wrote:
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