Camel in Fuse 6.2 breaks compatibility with Saxon-B

Solution Verified - Updated -

Issue

  • We use Saxon-B (net.sourceforge.saxon/saxon/9.1.0.8) with camel-xslt a for processing XSLT 2.0 in combination with custom java classes referenced by using "java:xxx" namespace. We cannot move to Saxon-HE since Saxonica has removed this feature in Saxon-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-import net.sf.saxon;version="[9.1,9.2)" on our bundle.
    • Add allowStAX=false to the Camel xslt URI
  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.