what was your Xalan version before the update, so what was the working version? Do you have multiple step includes (stylesheet1 includes stylesheet2, that includes stylesheet3)? We already have a bug related to this: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20308.
You can switch the transformer to Xalan to get your stylesheets working again.
Joerg
Sam Coward wrote:
Hmm. I just posted bug 20494 which seemed to appear just after doing an update which changed the xalan jar file to version 2.5.1. I also attached to this bug a small example that reproduces the problem in the standalone jetty + webapp produced by the build.
I'd really like to help look into this, but I just can't seem to obtain the source for the excalibur xmlutil package where the errors seem to be happening. No other messages are being logged to any of the logfiles in WEB-INF/log (Stacktrace appended below if you're curious).
The avalon-excalibur/xmlutil code from CVS HEAD seems to contain differences and will not compile against avalon-framework and logkit jars from the current cocoon-2.1 CVS HEAD.
How do other developers deal with tracking down problems in these JARs? Is there some place I can obtain the source used to build the excalibur-xmlutil-20030520.jar file that is in cocoon-2.1 CVS HEAD currently?
Am I even looking at the right place to try and find the problem? Or is this error message the by-product of some other hidden exception that has been lost?
regards, Sam
exception follows:
...
Original Exception: org.apache.excalibur.xml.xslt.XSLTProcessorException: Unable to create templates for stylesheet: file:/usr/src/cocoon-2.1/build/webapp/test/simple-transform.xml
at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:320)
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)