XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
lee hibberdSubject: 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.

Thanks in advance for your help.

Lee Hibberd

Postnext
Ivan PedruzziSubject: 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)?


Thanks
Ivan Pedruzzi
Stylus Studio Team

Posttop
lee hibberdSubject: 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:


<?xml version="1.0"?>
<test>
<testtext>oranges</testtext>
</test>


<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>

<xsl:template match="/">
<xsl:copy-of select="." />
</xsl:template>

</xsl:stylesheet>

Builds>
2008 xml enterprise suite - build 1050g
2007 xml professional suite - 894d

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.