[ 
https://issues.apache.org/jira/browse/CAMEL-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lajos Farkas updated CAMEL-9401:
--------------------------------
    Attachment: XSLT2Test.zip

Sample project for testing xsl 2 on karaf.
- karaf version 4.0.3
- see Readme,txt for loaded/started bundles

1. if the <camel:choice> is removed, bundle is deployed and prints in log file
                      Version:
                      2.0
                      Vendor:
                      Saxonica
                      Vendor URL:
                      HTTP://WWW.SAXONICA.COM

2. if <camel:choice> is added, but without saxon="true" bundle deployment is 
failed and error is "upper-case function not found"

3. if if <camel:choice> is added with saxon="true" then  bundle is not deployed 
and the error is:

javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory 
implementation found for the object model: http://saxon.sf.net/jaxp/xpath/om



> camel-core - OSGi dynamic import for saxon?
> -------------------------------------------
>
>                 Key: CAMEL-9401
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9401
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, osgi
>    Affects Versions: 2.16.0
>            Reporter: Claus Ibsen
>         Attachments: XSLT2Test.zip
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to