This error message tends to suggest a failure reported by the XML parser. I would expect to see some more detailed error messages in a log file somewhere.
I would think the most likely explanation, if the stylesheet itself hasn't changed, is that there are references to external files (e.g. a DTD) that cannot be resolved in the new environment.
Michael Kay

From: [] On Behalf Of Néstor Boscán
Sent: 13 July 2005 06:16
Subject: [saxon] Problem with Saxon 6.5.3 and Tomcat 5.0.28

I have a web application that uses Saxon 6.5.3 and runs perfectly  on Oracle OC4J and Resin. When I  deploy the  same WAR in Tomcat I  5.0.28 get :
Caused by: javax.xml.transform.TransformerConfigurationException: Failed to parse stylesheet at com.icl.saxon.PreparedStyleSheet.prepare(
        at com.icl.saxon.TransformerFactoryImpl.newTemplates(
There are no other errors. I checked the Tomcat directory to see if there was an old saxon or crimson library but I can't find one. What other factor can alter the execution of the Saxon transformer?
Néstor Boscán