You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/05/22 15:31:21 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13664096#comment-13664096 ] 

Hudson commented on ODE-664:
----------------------------

Integrated in ODE-trunk-jdk6 #486 (See [https://builds.apache.org/job/ODE-trunk-jdk6/486/])
    Karolis Petrauskas' patch for ODE-664 applied. (Revision 5b052ce9f0c55b80b5b41d3d6f410c2b0d95c402)

     Result = UNSTABLE
vanto : 
Files : 
* bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties
* utils/src/main/java/org/apache/ode/utils/DOMUtils.java
* bpel-epr/src/main/java/org/apache/ode/il/OMUtils.java
* bpel-test/src/test/resources/bpel/2.0/TestSubTreeAssign/test1.properties
* bpel-test/src/test/resources/bpel/2.0/TestInsertMissingData/test1.properties
* bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
* bpel-test/src/test/resources/bpel/2.0/ExtVar-GenKey/test.properties

                
> 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