You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2017/03/08 06:38:11 UTC

cxf git commit: [CXF-7269]adjust for french locale

Repository: cxf
Updated Branches:
  refs/heads/master a38da9e8f -> 218218f5c


[CXF-7269]adjust for french locale


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/218218f5
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/218218f5
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/218218f5

Branch: refs/heads/master
Commit: 218218f5c0eb01fbd6f6c7f54aba0a80439f64eb
Parents: a38da9e
Author: Freeman Fang <fr...@gmail.com>
Authored: Wed Mar 8 14:38:00 2017 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Wed Mar 8 14:38:00 2017 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/databinding/source/XMLStreamDataWriter.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/218218f5/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataWriter.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataWriter.java b/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataWriter.java
index afbcca0..d74166a 100644
--- a/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataWriter.java
+++ b/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataWriter.java
@@ -222,7 +222,7 @@ public class XMLStreamDataWriter implements DataWriter<XMLStreamWriter> {
         
         private boolean isCVC312Exception(SAXParseException exception) {
             String msg = exception.getMessage();
-            return msg.startsWith("cvc-type.3.1.2: ") 
+            return msg.startsWith("cvc-type.3.1.2") 
                 && msg.endsWith("is a simple type, so it must have no element information item [children].");