[jboss-jira] [JBoss JIRA] Resolved: (BPEL-301) getVariableData function does not return the actual value even for simple typed variables
Alejandro Guizar (JIRA)
jira-events at lists.jboss.org
Mon Jan 12 08:28:04 EST 2009
[ https://jira.jboss.org/jira/browse/BPEL-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Guizar resolved BPEL-301.
-----------------------------------
Resolution: Rejected
Type casting functions are required for portability across BPEL implementations.
> getVariableData function does not return the actual value even for simple typed variables
> -----------------------------------------------------------------------------------------
>
> Key: BPEL-301
> URL: https://jira.jboss.org/jira/browse/BPEL-301
> Project: JBoss jBPM BPEL
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Engine
> Affects Versions: jBPM BPEL 1.1 GA
> Reporter: Jay Yan
> Assignee: Alejandro Guizar
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> According to BPEL 1.1 Spec, the function getVariableData should behave in this way:
> "When only the first argument is present, the function extracts the value of the variable, which in this case must be defined using an XML Schema simple type or element. Otherwise, the return value of this function is a node set containing the single node..."
> However, even when a variable is defined using a simple type such as type="xsd:int", getVariableData () call on that variable still return the node instead of the numeric value. As the result, array[getVariableData(var)] does not work, while array[position()=getVariableData(var)] and array[number(getVariableData(var))] both work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list