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

Mark Ford reopened ODE-664:
---------------------------


I didn't attach a test case but will put one together when my project is done 
in a few weeks.

You are not copying the namespace declarations over. Please review the code and 
notice that the namespace declarations are explicitly skipped over in the for 
loop above and then never put on the target.

As for copying the namespace decls over from the to-spec, that's a violation of 
the RE strategy.

> Namespace declarations not being copied in ASSIGN.replaceElement
> ----------------------------------------------------------------
>
>                 Key: ODE-664
>                 URL: https://issues.apache.org/jira/browse/ODE-664
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3, 1.3.4
>            Reporter: Mark Ford
>            Assignee: Karthick Sankarachary
>            Priority: Critical
>
> The following line in ASSIGN.replaceElement looks wrong:
>         DOMUtils.copyNSContext(ptr, replacement); 
> I think it should be:
>         DOMUtils.copyNSContext(src, replacement); 
> The rationale is that the RE strategy should copy the attributes from the 
> source element to the target element. Without this change, you may end up 
> with undeclared namespace prefixes in the output of your BPEL.

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

Reply via email to