cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [1/2] cxf git commit: [CXF-7162] Inconsistent reading of formatted xml when validating schema This closes #210
Date Fri, 09 Dec 2016 17:00:15 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes e9100af2a -> 20071b418


[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/e75474f2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e75474f2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e75474f2

Branch: refs/heads/3.1.x-fixes
Commit: e75474f21d675e8ea3ce1aa7f6ca8bac4375dab7
Parents: e9100af
Author: Rodrigo Merino <rodrigo.merino@mulesoft.com>
Authored: Fri Dec 2 22:58:47 2016 -0300
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Dec 9 11:59:46 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/e75474f2/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);


Mime
View raw message