> and JAXP just doesn't
> support them.
JAXP should indeed support them. What Assaf is trying to say is, DOM2 is a
superset of DOM1. JAXP should be just as happy (at least with the JVM 1.2)
with DOM2 classes, if it can get to them first. If you can get JAXP to use
the DOM2 version of the classes, instead of the DOM1 versions, it should
work. So, either delete the DOM1 classes from the class path altogether,
or move the directory or jar or whatever to the first part of the CLASSPATH
variable.
Something like:
set CLASSPATH= .;c:\x\xml-xerces\java\bin\xerces.jar;c:
\x\xml-xalan\xalan.jar;c:\x\JAXP\jaxp.jar;c:\x\xml-xalan\bsf.jar;c:
\x\xml-xalan\bsfengines.jar;C:\jdk1.2.2\jre\lib\rt.jar;c:
\jdk1.2.2\jre\lib\i18n.jar;c:\jdk1.2.2\jre\lib\jaws.jar;c:
\jdk1.2.2\jre\lib\plugprov.jar
-scott
Eric Hodges
<[EMAIL PROTECTED] To: [email protected],
[EMAIL PROTECTED]
ell.net> cc: [email protected],
(bcc: Scott Boag/CAM/Lotus)
Subject: Re: Build questions
04/25/2000
06:09 PM
Please
respond to
xerces-dev
I don't have any jars. The real problem seems to be that Xalan and Xerces
depend on the features found in the new org.w3c.dom, and JAXP just doesn't
support them.
----- Original Message -----
From: Arkin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, April 25, 2000 5:14 PM
Subject: Re: Build questions
> Solution 1: You put the JAR with the DOM Level 2 interfaces first in the
> classpath and cross your fingers.
>
> Solution 2: You open up the JAR with the DOM Level 1 interfaces (use
> WinZip or Emacs) and delete all the DOM Level 1 interfaces from it.
>
> I recommend solution no. 2.
>
> arkin
>
> Eric Hodges wrote:
> >
> > How so? And how do you load the DOM level 2 interface "first"?
> >
> > ----- Original Message -----
> > From: "Arnaud Le Hors" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[email protected]>
> > Sent: Monday, April 24, 2000 4:24 PM
> > Subject: Re: Build questions
> >
> > > Note that in Java 1.2, if you make sure you load the DOM Level 2
> > > interfaces first, everything should work just fine!
> > > --
> > > Arnaud Le Hors - IBM Cupertino, XML Technology Group
>
> --
> ----------------------------------------------------------------------
> Assaf Arkin www.exoffice.com
> CTO, Exoffice Technologies, Inc. www.exolab.org