You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andy Goldstein (JIRA)" <ji...@apache.org> on 2010/11/09 17:05:09 UTC
[jira] Created: (QPID-2936) XML exchange only creates external
variables from application headers that are strings
XML exchange only creates external variables from application headers that are strings
--------------------------------------------------------------------------------------
Key: QPID-2936
URL: https://issues.apache.org/jira/browse/QPID-2936
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Environment: RHEL 5.5
Reporter: Andy Goldstein
When using an XQuery expression such as
declare variable $control external;
$control mod 2 = 0
the XML exchange currently only creates external XQuery variables from strings. For example, if I set an application header to 4, the XML exchange does not create an external variable for it. On the other hand, if I set the header to "4" (a string), the XML exchange will create an external variable for it.
It would be useful if the XML exchange supported other application header data types.
I tested this on the latest code from trunk, approx. r1033046.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Resolved: (QPID-2936) XML exchange only creates external
variables from application headers that are strings
Posted by "Gordon Sim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-2936.
------------------------------
Resolution: Fixed
Believed fixed by http://svn.apache.org/viewvc?view=revision&revision=1039478
> XML exchange only creates external variables from application headers that are strings
> --------------------------------------------------------------------------------------
>
> Key: QPID-2936
> URL: https://issues.apache.org/jira/browse/QPID-2936
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Environment: RHEL 5.5
> Reporter: Andy Goldstein
>
> When using an XQuery expression such as
> declare variable $control external;
> $control mod 2 = 0
> the XML exchange currently only creates external XQuery variables from strings. For example, if I set an application header to 4, the XML exchange does not create an external variable for it. On the other hand, if I set the header to "4" (a string), the XML exchange will create an external variable for it.
> It would be useful if the XML exchange supported other application header data types.
> I tested this on the latest code from trunk, approx. r1033046.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2936) XML exchange only creates external
variables from application headers that are strings
Posted by "Jonathan Robie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964808#action_12964808 ]
Jonathan Robie commented on QPID-2936:
--------------------------------------
Fixed upstream in 1039478.
> XML exchange only creates external variables from application headers that are strings
> --------------------------------------------------------------------------------------
>
> Key: QPID-2936
> URL: https://issues.apache.org/jira/browse/QPID-2936
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Environment: RHEL 5.5
> Reporter: Andy Goldstein
>
> When using an XQuery expression such as
> declare variable $control external;
> $control mod 2 = 0
> the XML exchange currently only creates external XQuery variables from strings. For example, if I set an application header to 4, the XML exchange does not create an external variable for it. On the other hand, if I set the header to "4" (a string), the XML exchange will create an external variable for it.
> It would be useful if the XML exchange supported other application header data types.
> I tested this on the latest code from trunk, approx. r1033046.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org