ODE
  1. ODE
  2. ODE-664

Namespace declarations not being copied in ASSIGN.replaceElement

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.3, 1.3.4
    • Fix Version/s: 1.3.6, 1.4
    • Component/s: BPEL Runtime
    • Labels:

      Description

      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.

      1. XMLNamespaces.patch
        8 kB
        Karolis Petrauskas
      2. HelloWorld2.zip
        12 kB
        Mark Ford

        Activity

        Tammo van Lessen made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Assignee Karthick Sankarachary [ karthick ] Tammo van Lessen [ vanto ]
        Resolution Fixed [ 1 ]
        Tammo van Lessen made changes -
        Fix Version/s 1.3.6 [ 12323509 ]
        Tammo van Lessen made changes -
        Labels patch
        Karolis Petrauskas made changes -
        Attachment XMLNamespaces.patch [ 12470179 ]
        Mark Ford made changes -
        Attachment HelloWorld2.zip [ 12468050 ]
        Tammo van Lessen made changes -
        Fix Version/s 1.4 [ 12315144 ]
        Fix Version/s 1.3.5 [ 12314243 ]
        Alexis Midon made changes -
        Fix Version/s 1.3.5 [ 12314243 ]
        Mark Ford made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Karthick Sankarachary made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Alex Boisvert made changes -
        Field Original Value New Value
        Assignee Karthick Sankarachary [ karthick ]
        Mark Ford created issue -

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Mark Ford
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development