Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9401

camel-core - OSGi dynamic import for saxon?

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Later
    • 2.16.0
    • None
    • camel-core, osgi
    • 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

      Attachments

        1. XSLT2Test.zip
          7 kB
          Lajos Farkas

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: