Repository: cxf Updated Branches: refs/heads/master 27bba67eb -> 45bc2219b
[CXF-7162] Inconsistent reading of formatted xml when validating schema This closes #210 Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/379387b6 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/379387b6 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/379387b6 Branch: refs/heads/master Commit: 379387b636146038f56bac93f244aeb824fe5c10 Parents: 27bba67 Author: Rodrigo Merino <[email protected]> Authored: Fri Dec 2 22:58:47 2016 -0300 Committer: Daniel Kulp <[email protected]> Committed: Fri Dec 9 11:10:30 2016 -0500 ---------------------------------------------------------------------- core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/379387b6/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java b/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java index 7f29345..49796b6 100644 --- a/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java +++ b/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java @@ -772,6 +772,7 @@ public final class StaxUtils { } break; case XMLStreamConstants.CHARACTERS: + case XMLStreamConstants.SPACE: String s = reader.getText(); if (s != null) { writer.writeCharacters(s);
