You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Vitaliy Tkachenko (JIRA)" <ji...@apache.org> on 2019/01/29 15:51:00 UTC
[jira] [Created] (ODE-1078) After node replacement old attributes
are preserved
Vitaliy Tkachenko created ODE-1078:
--------------------------------------
Summary: After node replacement old attributes are preserved
Key: ODE-1078
URL: https://issues.apache.org/jira/browse/ODE-1078
Project: ODE
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: 1.3.8
Reporter: Vitaliy Tkachenko
The ODE-960 fix is invalid and should be rolled back.
To select the whole node the following formula should be used (accordingly to the example given in theĀ ODE-960):
$extPLRequest.parameters/ns:userIdin
In this case the whole node and all its subnodes (including attributes) should be replaced with a new value.
To select the userIdin's (inner) text node only the corresponding XPath should be used:
$extPLRequest.parameters/ns:userIdin/text() which selects text subnode of the corresponding node. ODE works correctly in this case and removes node inner text only. See also my notes in the ODE-960.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)