getVariableProperty not resolved when used in XQuery expression
---------------------------------------------------------------
Key: ODE-907
URL: https://issues.apache.org/jira/browse/ODE-907
Project: ODE
Issue Type: Bug
Reporter: Mark Ford
I am getting the stacktrace below when using bpel:getVariableProperty within an
XQuery expression. The process works fine if I set the expression language to
Xpath 2.0
{code}
XPST0017: Cannot find a matching 2-argument function named
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}getVariableProperty()
11:43:12,372 ERROR [BpelC] null:59: error: [XQuery10Syntax] The string
"bpel:getVariableProperty('myVar','test:prop1')" is not a valid XQuery 1.0
expression: Couldn't validate XQuery expression
11:43:12,374 ERROR [ProcessStoreImpl] Deploy failed; error: [CompilationErrors]
Compilation completed with 1 error(s):
null:59: error: [XQuery10Syntax] The string
"bpel:getVariableProperty('myVar','test:prop1')" is not a valid XQuery 1.0
expression: Couldn't validate XQuery expression
org.apache.ode.bpel.compiler.api.CompilationException: error:
[CompilationErrors] Compilation completed with 1 error(s):
null:59: error: [XQuery10Syntax] The string
"bpel:getVariableProperty('myVar','test:prop1')" is not a valid XQuery 1.0
expression: Couldn't validate XQuery expression
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:782)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:263)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
at
org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:213)
at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:210)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:171)
at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:200)
at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:168)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:160)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.