[
https://issues.apache.org/jira/browse/CAMEL-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499513#comment-13499513
]
Bengt Rodehav commented on CAMEL-5798:
--------------------------------------
Installing the feature works but when you actually use the route you will (at
least I did) get a problem. E g my route is something like this:
file("...").choice().when(xpath("Xpath
expression").saxon()).log("match").otherwise().log("No match");
When I actually drop a file in the directory to be processed I get an
exception. I think the problem was that an XmlResolver couldn't be found.
Have you tried to actually create a route (that uses "xpath().saxon()") and see
if it works?
> camel-saxon does not work on pure Karaf 2.3.0
> ---------------------------------------------
>
> Key: CAMEL-5798
> URL: https://issues.apache.org/jira/browse/CAMEL-5798
> Project: Camel
> Issue Type: Bug
> Components: camel-saxon
> Affects Versions: 2.10.2
> Reporter: Bengt Rodehav
>
> This has been discussed on the mailing list:
> http://camel.465427.n5.nabble.com/Saxon-and-saxon9he-td5722663.html
> It seems like the camel-saxon feature only has been tested on Servicemix and
> not on a pure Karaf installation. Servicemix comes with a pre-installed
> XmlResolver while Karaf doesn't and it seems like camel-saxon requires an
> XmlResolver. It should therefore be added to the camel-saxon feature.
--
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