You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2009/01/13 17:24:59 UTC

[jira] Created: (CAMEL-1252) 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

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
             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.


[jira] Resolved: (CAMEL-1252) 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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (CAMEL-1252) 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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1252:
----------------------------------

    Assignee: Claus Ibsen

> 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.