[ 
https://issues.apache.org/jira/browse/SMX4-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453781#comment-13453781
 ] 

Claus Ibsen commented on SMX4-1240:
-----------------------------------

I am trying to use the osgi bundle JAR in camel-saxon. But it fails unit 
testing it, as it wont work. The JDK cannot detect the saxon xpath factory, and 
reverts back to the crappy one from the JDK, and then the xpath 2.0 unit tests 
fails.

Camel also logs which xpath factory is in use (saxon vs xalan).

Seems the saxon feature uses xml resolver as well
<feature name='camel-saxon' version='2.11-SNAPSHOT' resolver='(obr)' 
start-level='50'>
    <feature version='2.11-SNAPSHOT'>camel-core</feature>
    <bundle 
dependnecy='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5</bundle>
    <bundle 
dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/9.4.0.1_2</bundle>
    <bundle>mvn:org.apache.camel/camel-saxon/2.11-SNAPSHOT</bundle>
  </feature>
                
> OSGi bundle for Saxon 9.4.0.4
> -----------------------------
>
>                 Key: SMX4-1240
>                 URL: https://issues.apache.org/jira/browse/SMX4-1240
>             Project: ServiceMix 4
>          Issue Type: Task
>          Components: Bundles
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saxon/
> http://www.saxonica.com/welcome/welcome.xml
> 25 June 2012  Saxon 9.4.0.4 is available (Saxon-HE...)
> We got 9.4.0.1 currently as osgi bundle. But there is a newer release out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to