This is my recollection of providing EE/PE/HE choices for xmlsh.

You need the corresponding .jar file.




David A. Lee


From: Greg Sharek [mailto:greg.sharek@RACKSPACE.COM]
Sent: Friday, May 17, 2013 5:24 PM
Subject: [saxon] Does IdentityTransformer requires a license in SaxonEE


Hi all,


I'm working on a project which includes SaxonEE, but allows the user to use SaxonHE if they don't have a Saxon license.    Our "no license" code path uses net.sf.saxon.TransformerFactoryImpl.


I'm getting a license error where I don't think I should be getting one.  Here are the 2 scenarios

1.       No license, sourcing SaxonEE jar

1.       Uses net.sf.saxon.TransformerFactoryImpl

2.       Code gets reference to IdentityTransformer

3.       Get license error when attempting transform:

net.sf.saxon.trans.LicenseException: License file saxon-license.lic not found. Tried in file:/Users/rona6028/.m2/repository/net/sf/saxon/saxon-ee/, and classpath

at com.saxonica.config.Verifier.loadLicense(

at com.saxonica.config.ProfessionalConfiguration.loadLicense(

at com.saxonica.config.EnterpriseConfiguration.checkLicensedFeature(

at net.sf.saxon.expr.instruct.Executable.setSchemaAware(

at net.sf.saxon.IdentityTransformer.transform(

at com.rackspace.papi.components.translation.xslt.xmlfilterchain.XmlFilterChainExecutor.executeChain(


1.       No license, sourcing SaxonHE jar

1.       Uses net.sf.saxon.TransformerFactoryImpl

2.       Gets reference to IdentityTransformer

3.       No license error with transform.

The only difference is referencing the SaxonHE jar vs the SaxonEE jar.  Am I mistaken that this isn't working as expected?