Looking at the log, the most recent license I see for C24 is dated 2 Jan 2013, and this is an EEV license which allows XSD validation, but not schema-aware transformation or query. From the stack trace, the application is asking for schema-aware XPath processing, because the static context for the XPath evaluation has schemaAware set. Does that get you any further?

For diagnostics, Configuration.displayLicenseMessage() will display the serial number of the license actually in use. 

Feel free to contact us off-list if you want to avoid straying into commercial matters.

Michael Kay
Saxonica


On 2 May 2014, at 08:10, Divan Mostert <divan.mostert@c24.biz> wrote:

Hi All,

We have a full OEM license for Saxon, but one of our clients occasionally see the following exception:

ERROR 2014-04-30 06:02:08,421 [SimpleAsyncTaskExecutor-6][]
com.newedge.adapter.base.interceptor.GlobalExceptionAuditChannelInterceptor
- Error processing: net.sf.saxon.trans.LicenseException: A valid license
was found, but does not support the requested feature (schema-aware
processing)
       at com.saxonica.config.EnterpriseConfiguration.checkLicensedFeature
(EnterpriseConfiguration.java:155)
       at net.sf.saxon.expr.instruct.Executable.setSchemaAware
(Executable.java:758)
       at net.sf.saxon.sxpath.XPathEvaluator.createExpression
(XPathEvaluator.java:115)
       at biz.c24.io.api.data.saxon.SaxonXPath.createExpression
(SaxonXPath.java:133)
       at biz.c24.io.api.data.saxon.SaxonXPath.init(SaxonXPath.java:93)
       at biz.c24.io.api.data.saxon.SaxonXPath.getObject
(SaxonXPath.java:143)
       at biz.c24.io.api.data.saxon.SaxonXPath.getBoolean
(SaxonXPath.java:252)
       at biz.c24.io.api.data.XPathRule.validate(XPathRule.java:98)
       at biz.c24.io.api.data.DataType.validateProperties
(DataType.java:823)
       at biz.c24.io.api.data.DataType.validateProperties
(DataType.java:791)
       at biz.c24.io.api.data.ComplexDataType.validateProperties
(ComplexDataType.java:963)
       at biz.c24.io.api.data.Element.validateProperties(Element.java:569)
       at biz.c24.io.api.data.ComplexDataType.validateElements
(ComplexDataType.java:1035)
       at biz.c24.io.api.data.ComplexDataType.validateProperties
(ComplexDataType.java:984)
       at biz.c24.io.api.data.ValidationManager.validate
(ValidationManager.java:630)
       at biz.c24.io.api.data.ValidationManager.validateByEvents
(ValidationManager.java:564)
       at com.newedge.c24.utils.C24Utils.validate(C24Utils.java:148)
       at com.newedge.c24.utils.C24Utils.validateByEvents
(C24Utils.java:165)
       at
com.newedge.adapter.base.c24.BaseMessageHandler.validatedComplexDataOject
(BaseMessageHandler.java:45)
       at com.newedge.adapter.base.c24.AdapterMessageReader.readFromString
(AdapterMessageReader.java:75)

Any ideas?

Divan Mostert | Head of iO Development

C24.biz

M: +264 81 383 2924