Sorry to bother you with this, but after stairing at it for some time,
I still don't understand what's going on. I get this exception when
using <x:transform> from the Standard library, both 1.0 and 1.0.1,
with Tomcat 4.0.4 and either JDK 1.3.1_01 and JDK 1.4, on Windows ME
and Redhat Linux 7.2:

javax.servlet.jsp.JspException: SAX2 driver class 
org.apache.crimson.parser.XMLReaderImpl not found
        at 
org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:170)
[...]

Both the TC 4.0.4 and Standard library are clean installs, with all
of the original JAR files.

I assume it's the call to DocumentBuilderFactory.newInstance() or
TransformerFactory.newInstance() that fails. But I can't figure out
why any of these would try to use the crimson class. The xercesImpl.jar
contains the properties file for the DocumentBuilderFactory
and xalan.jar contains the properties file for the TransformerFactory,
and according to the JavaDocs for JAXP, it should use the implementation
classes it finds scanning all JAR files in the classpath. Can one of
the factories try to use crimson internally for some reason?

It worked perfectly about a month ago with Standard 1.0, JDK 1.3.1_01
(and JDK 1.4, I believe), and Tomcat 4.0.4 on Windows ME. Now I can't
get it to work with that configuration either. Most likely I've done
something stupid, but I can't see what.

Any ideas?

Hans
-- 
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to