camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefteris Tsallas (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4970) Cannot use xquery predicate in filter after an xpath splitter.
Date Thu, 02 Feb 2012 13:19:53 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lefteris Tsallas updated CAMEL-4970:
------------------------------------

    Attachment: XqueryPredicateFilterTest.java
    
> Cannot use xquery predicate in filter after an xpath splitter.  
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4970
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4970
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-saxon
>    Affects Versions: 2.9.0
>            Reporter: Lefteris Tsallas
>              Labels: xpath, xquery
>         Attachments: XqueryPredicateFilterTest.java
>
>
> After upgrading from 2.5.0 to 2.9.0 using xqury predicate after an xpath filter throws
 java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.DocumentInfo
. Attached unit test doesn't fail in camel 2.5.0.
> from("direct:xpath") 
> .split(xpathsplitter) 
> .filter().xquery("//record[type=2]") 
> .to("mock:result");    	
> See nabble discussion http://camel.465427.n5.nabble.com/Unit-test-fails-after-upgrading-to-2-7-1-Cannot-use-xquery-expression-after-xpath-td4422582.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message