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 2016/05/31 07:51:19 UTC

cxf git commit: [CXF-6927]check if msv is available in Stax2ValidationUtils to avoid the NCDFE when use IBM JDK

Repository: cxf
Updated Branches:
  refs/heads/master 63c20e889 -> bc2ac254d


[CXF-6927]check if msv is available in Stax2ValidationUtils to avoid the NCDFE when use IBM JDK


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

Branch: refs/heads/master
Commit: bc2ac254d4f780d2443962adcdaf0a8db5b30280
Parents: 63c20e8
Author: Freeman Fang <fr...@gmail.com>
Authored: Tue May 31 15:51:04 2016 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Tue May 31 15:51:04 2016 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/bc2ac254/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java b/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
index 3a9d609..6cde540 100644
--- a/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
+++ b/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
@@ -57,6 +57,7 @@ class Stax2ValidationUtils {
     static {
         boolean hasw = false;
         try {
+            new ResolvingGrammarReaderController(null, null); // will throw if msv isn't available
             new W3CMultiSchemaFactory(); // will throw if wrong woodstox.
             hasw = true;
         } catch (Throwable t) {