Subject: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)
Subject: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.