Re: Unit test fails after upgrading to 2.9.0. Cannot use xquery expression after xpath

2012-02-02 Thread ltsall
Hi I created a jira and attached a unit test https://issues.apache.org/jira/browse/CAMEL-4970 -- View this message in context: http://camel.465427.n5.nabble.com/Unit-test-fails-after-upgrading-to-2-7-1-Cannot-use-xquery-expression-after-xpath-tp4422582p5450621.html Sent from the Camel - U

Re: Unit test fails after upgrading to 2.9.0. Cannot use xquery expression after xpath

2012-02-02 Thread ltsall
Hi Claus, I created a unit test for this. See my first post. The problem is when i use an xquery predicate just after an xpath splitter. from("direct:xpath") .split(xpathsplitter) .filter().xquery("//record[type=2]") .to("mock:result"); This route works in 2.5.0 but fails in 2.9.0 w

Re: Unit test fails after upgrading to 2.9.0. Cannot use xquery expression after xpath

2012-01-31 Thread ltsall
test ony to reproduce the issue, and major refactoring is needed in order to apply this change in all parts of the existing code. I want to upgrade my existing camel 2.5.0 application to the newest version to use some of the new features. Should I create a jira ticket for this? BR, ltsall