You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2016/12/09 17:04:02 UTC
[2/2] cxf git commit: [CXF-7162] Inconsistent reading of formatted
xml when validating schema This closes #210
[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/d6ed764c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d6ed764c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d6ed764c
Branch: refs/heads/3.0.x-fixes
Commit: d6ed764c75bdb76716519f585ecd4c77f38da99b
Parents: cd9cd00
Author: Rodrigo Merino <ro...@mulesoft.com>
Authored: Fri Dec 2 22:58:47 2016 -0300
Committer: Daniel Kulp <dk...@apache.org>
Committed: Fri Dec 9 12:03:56 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/d6ed764c/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 2d376f0..3a8e5fa 100644
--- a/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
+++ b/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
@@ -769,6 +769,7 @@ public final class StaxUtils {
}
break;
case XMLStreamConstants.CHARACTERS:
+ case XMLStreamConstants.SPACE:
String s = reader.getText();
if (s != null) {
writer.writeCharacters(s);