javax.xml.transform.TransformerException: "master-name" attribute is not allowed on the fo:simple-page-master element!

Talend Version          6.2.1

Summary

 ESB Runtime issue with XSLT stylesheet version="2.0".
Additional Versions  
Product  
Component  
Problem Description Using ESB “xslt:test.xsl” (where test.xsl uses stylesheet version="2.0") works when run from Studio, but fails when deployed/run from Runtime:

Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: xslt://test.xsl due to: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: "master-name" attribute is not allowed on the fo:simple-page-master element!
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:587)[158:org.apache.camel.camel-core:2.16.3]
Problem root cause  By default, the JVM ships with Xalan processor which supports XSLT version 1.x.
Solution or Workaround  
Configure ESB Runtime to use Saxon processor which supports XSLT 2.0.
To do so, please enable Saxon in Runtime by running the following command in Karaf console:
feature:install camel-saxon 
JIRA ticket number  
Version History
Revision #:
1 of 1
Last update:
‎05-17-2017 10:50 PM
Updated by:
 
Labels (1)
Contributors