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

          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