You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Tammo van Lessen (JIRA)" <ji...@apache.org> on 2013/05/14 23:49:16 UTC

[jira] [Updated] (ODE-664) Namespace declarations not being copied in ASSIGN.replaceElement

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

Tammo van Lessen updated ODE-664:
---------------------------------

    Fix Version/s: 1.3.6
    
> 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
>              Labels: patch
>             Fix For: 1.3.6, 1.4
>
>         Attachments: HelloWorld2.zip, XMLNamespaces.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira