You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Piotr Klimczak (Jira)" <ji...@apache.org> on 2023/03/15 18:25:00 UTC

[jira] [Comment Edited] (CAMEL-19095) Camel Karaf using buggy Saxon bundle with wrong imports

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

Piotr Klimczak edited comment on CAMEL-19095 at 3/15/23 6:24 PM:
-----------------------------------------------------------------

Hi [~davsclaus], yes Jean-Baptiste kindly patched them. Still need to test them and then will update it.
We will be internally creating new release somewhere next week as there are some other updates too. So we should confirm then that new libs are ok and will create patch.


was (Author: nannou9):
Hi [~davsclaus], yes Jean-Baptiste kindly patched them. Still need to test them and then will update it.
We will be internally creating new release somewhere next week as there are some other updates too. So we should confirm then that new libs are ok.

> Camel Karaf using buggy Saxon bundle with wrong imports
> -------------------------------------------------------
>
>                 Key: CAMEL-19095
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19095
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 3.20.2
>            Reporter: Piotr Klimczak
>            Priority: Minor
>             Fix For: 3.20.3, 3.21.0
>
>
> Will provide PR soon as I finish testing fix.
> Current problems is with:
> {code:java}
> <bundle dependency='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/11.4_1</bundle> {code}
> Saxon 11.4 requires to import org.xmlresolver (v4.4.3) and not org.apache.xml.resolver (v1.2).
> Temporary workaround is to define bundle replacements like below:
> {code:java}
> <bundle mode="maven" originalUri="mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5" replacement="wrap:mvn:org.xmlresolver/xmlresolver/4.4.3"/>
> <bundle mode="maven" originalUri="mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/11.4_1" replacement="wrap:mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/11.4_2$overwrite=merge&amp;Import-Package=javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.stream,javax.xml.stream.events,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.transform.stax,javax.xml.xpath,org.xmlresolver,org.w3c.dom,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,javax.xml,javax.xml.xquery;resolution:=optional,com.saxonica.functions.map;resolution:=optional,com.saxonica.stream;resolution:=optional"/> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)