As usual, you're correct :) I had to modify the jar ordering to the following:

./lib/xerces.jar;./lib/xalan.jar;./lib/jaxp.jar;./lib/parser.jar

I had xalan coming before xerces for some reason, that was the problem.

Jayme

-----Original Message-----
From: Edwards, Jayme [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 18, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: document() function failing in Xalan 2.1.0 under Cocoon 1.8.2

I'm using Xerces 1.4 for my main XML parser and JAXP needs to be there for Tomcat. I 
explicitly have xerces loaded after jaxp in my classpath: e.g.

-classpath ./lib/xerces.jar;./lib/xalan.jar;./lib/jaxp.jar;./lib/parser.jar

Shouldn't this cause Xerces to be used as the default DOM implementation for 
applications that don't specifically request a Jaxp parser liason?

-Jayme

-----Original Message-----
From: Gary L Peskin [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 18, 2001 10:05 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: document() function failing in Xalan 2.1.0 under Cocoon 1.8.2

This is a problem with your classpath.  You have an older version of the
DOM classes in it.  Check your classpath and your lib/ext directory.

Gary

Reply via email to