[ https://issues.apache.org/activemq/browse/CAMEL-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1252. -------------------------------- Resolution: Fixed Committed revision 743330. > refactor the Expression interface to add an evaluate(Exchange, expectedType) > paramater - which will make XPath evaluations easier as we can pass in String > (when we want a String) to avoid xpath/xquery having to use text() inside it > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-1252 > URL: https://issues.apache.org/activemq/browse/CAMEL-1252 > Project: Apache Camel > Issue Type: Improvement > Reporter: James Strachan > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > not everywhere, but there are places in the code where we might want to pass > in an expectedType. If passed in, this value can be useful to the evaluation > engine - for example we can pass this nicely through in the XPath / XQuery > engines to avoid having to append XPath evaluations with *text()* -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.