Re: Saxon and saxon9he

2012-11-17 Thread Christian Müller
It works for me. Add a comment to the JIRA. Best, Christian On Sat, Nov 17, 2012 at 9:55 AM, Bengt Rodehav wrote: > https://issues.apache.org/jira/browse/CAMEL-5798 > > Will try to elaborate a bit more about what combinations of > Karaf/Servicemix/Camel do not work. > > /Bengt > > > 2012/11/16

Re: Saxon and saxon9he

2012-11-17 Thread Bengt Rodehav
https://issues.apache.org/jira/browse/CAMEL-5798 Will try to elaborate a bit more about what combinations of Karaf/Servicemix/Camel do not work. /Bengt 2012/11/16 Claus Ibsen > On Fri, Nov 16, 2012 at 12:33 PM, Bengt Rodehav wrote: > > Do you think I should create a JIRA concerning the camel

Re: Saxon and saxon9he

2012-11-16 Thread Claus Ibsen
On Fri, Nov 16, 2012 at 12:33 PM, Bengt Rodehav wrote: > Do you think I should create a JIRA concerning the camel-saxon feature not > working on a pure Karaf? > Yeah it could be a matter of adding the xmlresolver to the camel-saxon feature as a dependency. Then it may install on a pure karaf. Fee

Re: Saxon and saxon9he

2012-11-16 Thread Bengt Rodehav
Do you think I should create a JIRA concerning the camel-saxon feature not working on a pure Karaf? /Bengt 2012/11/16 Bengt Rodehav > OK, if that's the case then I'm "already there" since I use Saxon for > xpath as well. > > Thanks, > > /Bengt > > > 2012/11/16 Claus Ibsen > >> On Fri, Nov 16,

Re: Saxon and saxon9he

2012-11-16 Thread Bengt Rodehav
OK, if that's the case then I'm "already there" since I use Saxon for xpath as well. Thanks, /Bengt 2012/11/16 Claus Ibsen > On Fri, Nov 16, 2012 at 8:56 AM, Bengt Rodehav wrote: > > Hello Christian. > > > > Thanks for your remarks. However, I did try using the camel-saxon feature > > (first

Re: Saxon and saxon9he

2012-11-16 Thread Claus Ibsen
On Fri, Nov 16, 2012 at 8:56 AM, Bengt Rodehav wrote: > Hello Christian. > > Thanks for your remarks. However, I did try using the camel-saxon feature > (first thing I did) but it doesn't work when running under pure Karaf. It > probably works under ServiceMix (haven't tested that) but I have my o

Re: Saxon and saxon9he

2012-11-15 Thread Bengt Rodehav
Hello Christian. Thanks for your remarks. However, I did try using the camel-saxon feature (first thing I did) but it doesn't work when running under pure Karaf. It probably works under ServiceMix (haven't tested that) but I have my own custom Karaf+Camel distribution. I'm not 100% sure what is w

Re: Saxon and saxon9he

2012-11-15 Thread Christian Müller
Hi Bengt! Two remarks: You can leverage on the camel-saxon feature [1] to manage all the dependencies saxon need. And you could try using xquery instead of xpath [2]. It should be faster. [1] https://svn.apache.org/repos/asf/camel/trunk/platforms/karaf/features/src/main/resources/features.xml [2]

Re: Saxon and saxon9he

2012-11-15 Thread Bengt Rodehav
I've now got things working. This is what I did: First of all, I decided to use Saxon instead of the XPath implementation that is part of the JRE. I therefore added the following dependency to my POM: ** * org.apache.camel* * camel-saxon* * 2.10.2* ** I then used the foll

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
Will do. 2012/11/13 Claus Ibsen > Hi Bengt > > Please keep us posted with your findings. There may be something we > need to fix / do / document to make this easier / work. > > On Tue, Nov 13, 2012 at 3:38 PM, Bengt Rodehav wrote: > > OK - thanks for the hint, > > > > /Bengt > > > > > > 2012/1

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
Hi Bengt Please keep us posted with your findings. There may be something we need to fix / do / document to make this easier / work. On Tue, Nov 13, 2012 at 3:38 PM, Bengt Rodehav wrote: > OK - thanks for the hint, > > /Bengt > > > 2012/11/13 Claus Ibsen > >> On Tue, Nov 13, 2012 at 3:22 PM, Be

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
OK - thanks for the hint, /Bengt 2012/11/13 Claus Ibsen > On Tue, Nov 13, 2012 at 3:22 PM, Bengt Rodehav wrote: > > Thanks Claus. > > > > You don't happen to know anything about using Camel's xpath language > within > > Karaf? Should it be possible without resorting to Saxon? I couldn't see >

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
On Tue, Nov 13, 2012 at 3:22 PM, Bengt Rodehav wrote: > Thanks Claus. > > You don't happen to know anything about using Camel's xpath language within > Karaf? Should it be possible without resorting to Saxon? I couldn't see any > osgi tests regarding this. > Maybe try using the cxf.jre.properties

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
Thanks Claus. You don't happen to know anything about using Camel's xpath language within Karaf? Should it be possible without resorting to Saxon? I couldn't see any osgi tests regarding this. /Bengt 2012/11/13 Claus Ibsen > Though there is a SMX bundle as well > > http://repo2.maven.org/mave

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
Though there is a SMX bundle as well http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saxon/9.4.0.4_1/ The problem is that the SMX bundle doesn't contain all the files that the official JAR has. Its approx 9mb and the SMX bundle is much smaller. Though don

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
The JAR is in SMX repo at http://svn.apache.org/repos/asf/servicemix/m2-repo On Tue, Nov 13, 2012 at 2:39 PM, Bengt Rodehav wrote: > I'm using Camel 2.10.2 on Karaf 2.3.0. > > I'm trying to use xpath but I get the following exception: > > *2012-11-13 13:20:38,307 | ERROR | rfaces/fundorder | Defa

Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
I'm using Camel 2.10.2 on Karaf 2.3.0. I'm trying to use xpath but I get the following exception: *2012-11-13 13:20:38,307 | ERROR | rfaces/fundorder | DefaultErrorHandler | rg.apache.camel.util.CamelLogger 215 | Failed delivery for (MessageId: ID-IT-D-FQR815J-56524-1352809143728-0-1