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
Dana CollinsSubject: saxon-license
Author: Dana Collins
Date: 13 Dec 2007 12:22 PM
I'm just trying to do a simple XSLT translation, but I can't get past a saxon licensing error. I've turned off validation, but I still can't make any progress. Where can I get the saxon-license.lic file or how can I get around this? See error below:

Exception in thread "main" java.lang.RuntimeException: License file saxon-license.lic not found
at com.saxonica.validate.JavaVerifier.loadLicense(JavaVerifier.java:48)
at com.saxonica.validate.PlatformVerifier.getFeature(PlatformVerifier.java:63)
at com.saxonica.validate.SchemaAwareConfiguration.getFeature(SchemaAwareConfiguration.java:85)
at com.saxonica.validate.SchemaAwareConfiguration.isSchemaAware(SchemaAwareConfiguration.java:104)
at net.sf.saxon.instruct.FixedElement.simplify(FixedElement.java:80)
at net.sf.saxon.style.XSLTemplate.compile(XSLTemplate.java:287)
at net.sf.saxon.style.XSLStylesheet.compileStylesheet(XSLStylesheet.java:1051)
at net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet.java:328)
at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:140)
at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:137)
at net.sf.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:88)
at inquiry.request.TestXSLT.main(TestXSLT.java:37)

Postnext
Ivan PedruzziSubject: saxon-license
Author: Ivan Pedruzzi
Date: 13 Dec 2007 09:15 PM

Dana,

Are you getting license error in the XSLT editor or when running your java program?

In order to generate Java code for Saxon Basic you have to set the execution mode to Basic in the XSLT scenario settings and re-generate the Java code.


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
Dana CollinsSubject: saxon-license
Author: Dana Collins
Date: 14 Dec 2007 08:36 AM
Yes - that helped.

Thanks!

 
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.