Subject:2007 Pro won't run XSL files created in 2008 Enterprise Author:lee hibberd Date:06 Feb 2008 11:34 AM
Hi Stylus Team - If I create or modify a xsl file in 2008 Enterprise it will fail to run correctly in 2007 Pro. I can load the file with no problem and all of the contents look intact, but running the xsl gives me a java.lan error. If I create a new xsl document in 2007 Pro, remove all the text and then copy and paste the xml text from the loaded xsl file created in 2008 it runs fine.
My assumption is that there is some hidden code embedded in the xsl file that causes it to fail, for one reason or another, in 2007. I remain optimistic of a simple solution as manually copying and pasting documents is a no-go, and this incompatibility defies the principles of xml.
Subject:2007 Pro won't run XSL files created in 2008 Enterprise Author:Ivan Pedruzzi Date:06 Feb 2008 12:13 PM
Hi Lee,
Could you please provide the full stack trace for error?
Which XSLT processor are you running?
Could you send a complete sample (XSLT + XML) that throws the error on 2008?
Which 2008 build are you running (Help -> About -> Framework)?
Which 2007 Professional build are you running (Help -> About -> Framework)?
Subject:2007 Pro won't run XSL files created in 2008 Enterprise Author:lee hibberd Date:13 Feb 2008 02:51 AM
Hi Ivan,
We've now corrected the error so that we can read the xslt in 2007 pro when they are created in 2008 ent. It was caused when the "Use Stylus Studio URI resolver" box was checked in the processor settings. Unchecking it sorts out the problem. For the benefit of people coming across the same problem here is our set up and stack trace:
Stack Trace>
java.lang.NoClassDefFoundError: com/ddtek/xmlconverter/ConverterFactory
XSLT processor>
Saxon 8.9.0.3
XSL and XML sample>
It fails on all tested including xsl 1.0, 1.1, with and without namespaces. Here’s a simple one: