ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ODE-542) XQuery with multiple variable references failing with static analysis error
Date Fri, 17 Apr 2009 23:26:15 GMT

     [ https://issues.apache.org/jira/browse/ODE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexis Midon updated ODE-542:
-----------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3.2

> XQuery with multiple variable references failing with static analysis error
> ---------------------------------------------------------------------------
>
>                 Key: ODE-542
>                 URL: https://issues.apache.org/jira/browse/ODE-542
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>            Reporter: Mark Ford
>            Priority: Minor
>             Fix For: 1.3.2
>
>
> ODE adds a preamble to XQuery expressions prior to executing them. This preamble includes
the namespace declarations and external variable declarations. I got a static analysis error
saying that there was a duplicate global variable declaration. I saw the following under the
debugger:
> ...
> declare variable $SubmitRequestResponse.SubmitRequestResponse external ;
> declare variable $SubmitRequestResponse.SubmitRequestResponse external ;
> ...
> I modified the expression to map the global variable to a local variable and use the
local variable multiple times instead of referencing the global variable multiple times. This
only produced a single declaration for the variable in the preamble and worked fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message