cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Houde <pascal.ho...@cactuscom.ca>
Subject RE: Problem running XSP samples
Date Wed, 19 Jan 2000 23:57:49 GMT
Unfortunately that didn't solve my problem. Xerces is now at the top of my
CP and I still have the same error. Also it's the only jar in my classpath
in which I have a DOM implementation...

> -----Original Message-----
> From: Ricardo Rocha [mailto:ricardo@apache.org]
> Sent: Wednesday, January 19, 2000 6:50 PM
> To: cocoon-dev@xml.apache.org
> Subject: RE: Problem running XSP samples
> 
> 
> On Jan-19-2000 Pascal Houde wrote:
> > I can't run any of the Cocoon 1.6 XSP samples. I always get a
> > "java.lang.NoSuchMethodError: org.w3c.dom.Node: method 
> normalize()V not
> > found". See below for complete stack trace.
> > At the line where the error occur 
> (XSPJavaPreprocessor.java:87) there's a
> > switch statement in the process(Node) method where it test 
> the node type.
> > When it's an ELEMENT_NODE, it cast the Node object to an Element 
> > object and calls the normalize method (line 115). It fails 
> at that point.
> > I am using Xerces 1.0.1 for my DOM implementation (I guess that 
> > the error is here...).
> 
> This is a problem for which Donald Ball already found a solution:
> 
> On Jan-13-2000 Donald Ball wrote:
> > Actually, I just fixed the problem locally. I moved 
> Xerces.jar to the top
> > of the CLASSPATH and things are working again. Irritating, 
> that so many
> > JARs include different variations on DOM.
> > - donald
> 
> This happened to me as well. I fixed it by placing Xerces before Xalan
> in the classpath setting.
> 
> 

Mime
View raw message