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

Namespace declarations not being copied in ASSIGN.replaceElement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.3, 1.3.4
    • 1.3.6, 1.4
    • BPEL Runtime

    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

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

            Dates

              Created:
              Updated:
              Resolved: