I've got the strongest feeling that you're actually not using the newest
Xalan & Xerces, then.

Some version of Xerces & Xalan is included in Sun's JDK 1.4 (inside rt.jar).
rt.jar is a bootstrap jar; in a search for a class, the class will always be
picked up from the bootstrap classpath if it's there at all.



----- Original Message -----
From: "Thomas Börkel" <[EMAIL PROTECTED]>
To: "Xalan Mailinglist" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 12:52 PM
Subject: RE: J2RE 1.4 & Xalan-J 2


> HI!
>
> I am using JDK 1.4 and the newest Xerces and Xalan versions without
problems and I have not changed to bootclasspath. I just put the Xerces and
Xalan archives in the normal classpath. How is that possible?
>
> Regards,
> Thomas
>
> > -----Original Message-----
> > From: Raber Chris [mailto:[EMAIL PROTECTED]
> > Sent: Freitag, 15. März 2002 15:58
> > To: Raphael Goubet; [EMAIL PROTECTED]
> > Subject: Re: J2RE 1.4 & Xalan-J 2
> >
> >
> > JRE 1.4 includes it's own SAX parser (crimson) and
> > earlier versions of Xalan.
> >
> > Put the newer Xerces+Xalan classes on the boot class
> > path. See the archives of this list for additional
> > notes on this subject, several by yours truly :-)
> >
> > -Chris.
> >
> > --- Raphael Goubet <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > Since I installed the SUN JRE 1.4 (on Win98), I
> > > can't get Xalan working.
> > > When I run it, I get the following message:
> > >
> > > Exception in thread "main"
> > > java.lang.ClassCastException:
> > > org.apache.xalan.res.XSLTErrorResources_fr
> > >          at
> > > org.apache.xalan.xslt.Process.main(Unknown Source)
> > >
> > > I used the EnvironmentCheck utility to check my
> > > classpath, and it seems OK.
> > >
> > > Setting the java.endorsed.dirs property to the path
> > > to my local java
> > > repository by using the -D switch in the command
> > > line
> > > (-Djava.endorsed.dirs=\Programs\Java) didn't solve
> > > the problem. Now, I get
> > > a slightly different error message:
> > >
> > > Exception in thread "main"
> > > java.lang.ClassCastException:
> > > org.apache.xalan.res.XSLTErrorResources_fr
> > >          at
> > > org.apache.xalan.xslt.Process.main(Process.java:216)
> > >
> > > Can somebody help me?
> > >
> > > Thanks in advance.
> > >
> > > Raphael
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Sports - live college hoops coverage
> > http://sports.yahoo.com/
> >
>


Reply via email to