Repository: cxf Updated Branches: refs/heads/3.1.x-fixes d5b594749 -> fd090b694
[CXF-7269]adjust for french locale (cherry picked from commit 218218f5c0eb01fbd6f6c7f54aba0a80439f64eb) Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fd090b69 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fd090b69 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fd090b69 Branch: refs/heads/3.1.x-fixes Commit: fd090b694bc32468d50994b5146036cbbadd5640 Parents: d5b5947 Author: Freeman Fang <[email protected]> Authored: Wed Mar 8 14:38:00 2017 +0800 Committer: Freeman Fang <[email protected]> Committed: Wed Mar 8 14:57:38 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/fd090b69/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 bec5b14..a4ebc0e 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].");
