Camel in Fuse 6.2 breaks compatibility with Saxon-B
Issue
- We use
Saxon-B(net.sourceforge.saxon/saxon/9.1.0.8) withcamel-xslta for processingXSLT 2.0in combination with custom java classes referenced by using "java:xxx" namespace. We cannot move toSaxon-HEsinceSaxonicahas removed this feature inSaxon-HE, only offering it in its paid versions. - Up to Fuse 6.1 Saxon-B was working fine with camel-xslt. To make Camel use Saxon-B instead of Saxon-HE we just had to
- deploy
org.apache.servicemix.bundles.saxon-9.1.0.8_2.jar - define
OSGi-importnet.sf.saxon;version="[9.1,9.2)"on our bundle. - Add
allowStAX=falseto the Camel xslt URI
- deploy
- Since Fuse 6.2 this does not work anymore. We get this exceptions:
java.lang.ClassNotFoundException: net.sf.saxon.serialize.MessageWarner
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.