Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Later
-
2.16.0
-
None
-
None
-
Unknown
Description
Someone in the communiy have karaf problems with xslt component with saxon=true. It cannot load the saxon factory
I wonder if this is correct
https://github.com/apache/camel/blob/master/camel-core/pom.xml#L103
Should it be optional import instead? Or how do we make camel-core able to discover the saxon class if its installed later after camel-core.
There is some other saxon package names in the import section instead but listed os optional
https://github.com/apache/camel/blob/master/camel-core/pom.xml#L53
I wonder if net.sf.saxon should be that too, so the xslt component can load it
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java#L358