Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-312

SAAJ layer distorts whitespace in many areas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC1
    • jbossws-1.0Beta
    • jbossws-native
    • None

      Several areas in the codebase consolidate Text nodes. The problem with this is that it changes the look of the whitespace, so if you read, and then write a message it will look different. The XMLSignature specification includes whitespace when digesting a value, which means that a signed message can never be valid because we manipulate it when deserializing it.

      To fix this we need to change the code to preserve the exact ordering of Text nodes when converting from DOM to our tree.

              Unassigned Unassigned
              jgreene@redhat.com Jason Greene
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: