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

Inconsistent reading of formatted xml when validating schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.18, 3.1.8
    • 3.1.9, 3.0.12
    • Core
    • None
    • All

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: