Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4266

Comment nodes are not handled correctly during transformation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5, nightly
    • 1.5, nightly
    • saaj
    • None

    Description

      When using Transformer API to build a SOAP message from DOM with comment nodes can create an invalid DOM document:

      Input:

      <root>
      <a>
      <!-- this is a test with a comment node -->
      </a>
      </root>

      Final (invalid) doc:

      <root>
      <a>
      <!-<!- this is a test with a comment node ->->
      </a>
      </root>

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: