Rodrigo Merino created CXF-7162:
-----------------------------------
Summary: Inconsistent reading of formatted xml when validating
schema
Key: CXF-7162
URL: https://issues.apache.org/jira/browse/CXF-7162
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 3.1.8, 2.7.18
Environment: All
Reporter: Rodrigo Merino
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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)