XPath10 does not appear to be working within ASSIGN
---------------------------------------------------
Key: ODE-44
URL: http://issues.apache.org/jira/browse/ODE-44
Project: Apache Ode
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: Incubator
Reporter: Lance Waterman
Priority: Minor
Fix For: Incubator
In working on the BPEL unit tests I ran into the following problem. It appears
that ACTIVITY.getEvaluationContext() is using this constructor:
ExprEvaluationContextImpl(_scopeFrame,getBpelRuntimeContext()).
and
XPath10ExpressionRuntime.createContext() is invoking ...
ContextSupport support = new ContextSupport(new
JaxenNamespaceContextAdapter(oxpath.namespaceCtx),
bpelSupport, bpelSupport,
new
BpelDocumentNavigator(ctx.getRootNode()));
Note: ctx.getRootNode() is returning null because the constructor above does
not set the attribute.
Switched to XPath20 and things work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira