You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 08:16:39 UTC
[jira] [Created] (CAMEL-4858) xpath expression with $header with
saxon may throw exception if header did not exist
xpath expression with $header with saxon may throw exception if header did not exist
------------------------------------------------------------------------------------
Key: CAMEL-4858
URL: https://issues.apache.org/jira/browse/CAMEL-4858
Project: Camel
Issue Type: Bug
Components: camel-core, camel-saxon
Affects Versions: 2.9.0, 2.8.3
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.8.4, 2.9.1
See CAMEL-747
We should return an empty String instead of a Void.class, as this works with both JDK + Saxon XPathEngine.
Saxon does not work with the Void.class.
--
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
[jira] [Resolved] (CAMEL-4858) xpath expression with $header with
saxon may throw exception if header did not exist
Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4858.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.7.5
> xpath expression with $header with saxon may throw exception if header did not exist
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-4858
> URL: https://issues.apache.org/jira/browse/CAMEL-4858
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-saxon
> Affects Versions: 2.8.3, 2.9.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.5, 2.8.4, 2.9.1
>
>
> See CAMEL-747
> We should return an empty String instead of a Void.class, as this works with both JDK + Saxon XPathEngine.
> Saxon does not work with the Void.class.
--
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
[jira] [Commented] (CAMEL-4858) xpath expression with $header with
saxon may throw exception if header did not exist
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179337#comment-13179337 ]
Claus Ibsen commented on CAMEL-4858:
------------------------------------
The workaround is to not use $headerName but a Camel function, using the Camel function namespace, to use the header function.
See details at: http://camel.apache.org/xpath
> xpath expression with $header with saxon may throw exception if header did not exist
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-4858
> URL: https://issues.apache.org/jira/browse/CAMEL-4858
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-saxon
> Affects Versions: 2.8.3, 2.9.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.5, 2.8.4, 2.9.1
>
>
> See CAMEL-747
> We should return an empty String instead of a Void.class, as this works with both JDK + Saxon XPathEngine.
> Saxon does not work with the Void.class.
--
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