Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7162

Inconsistent reading of formatted xml when validating schema

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.18, 3.1.8
    • Fix Version/s: 3.1.9, 3.0.12
    • Component/s: Core
    • Labels:
      None
    • Environment:

      All

    • Estimated Complexity:
      Unknown

      Description

      When calling StaxUtils.copy() with a source reader that is validating schema, the spaces between tags used for formatting the XML are not copied to the output.
      This causes, when used, the soap body signature validation to fail when using schema validation.

      I have already reported this to woodstox (https://github.com/FasterXML/woodstox/issues/29) but anyway, StaxUtils.copy() should be aware of both situations (CHARACTERS AND SPACES).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                elrodro83 Rodrigo Merino
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: