namespace propagation does not produce desired results
------------------------------------------------------
Key: BPEL-195
URL:
http://jira.jboss.com/jira/browse/BPEL-195
Project: JBoss jBPM BPEL
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1 beta 1
Reporter: Alejandro Guizar
Assigned To: Alejandro Guizar
Fix For: jBPM BPEL 1.1 beta 2
when copying an element such as:
<payload1>
<result
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:ns1='urn:samples:account'
xmlns='http://example.com/SyncSample'
/>
</payload1>
to a soap message part like:
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:processResponse
xmlns:ns1='http://example.com/SyncSample'>
<payload1 /> <!-- assignment target -->
</ns1:processResponse>
</env:Body>
</env:Envelope>
the result is:
<payload1>
<ns1:result
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:ns1='urn:samples:account'>50.0</ns1:result>
</payload1>
and the problems are:
a/ the prefix "ns1", which the target element parent maps to
"http://example.com/SyncSample", should not be taken as the target element
prefix, because the source element maps it to another URI
b/ the declaration env->
http://schemas.xmlsoap.org/soap/envelope/ should not appear
because it matches a visible declaration at the target
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: