Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-664

Namespace declarations not being copied in ASSIGN.replaceElement

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: