[PATCH] Do not use configuration EntityResolver here

Wald Commits scm-commit at wald.intevation.org
Wed Feb 3 18:36:11 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1454520918 -3600
# Node ID fc54202a4b1e0ab32ba2041ea29a3da669b9c15d
# Parent  52c07838643356cca9c3a548db183b4fd3087e71
Do not use configuration EntityResolver here.

Fixes a regression of a change in framework behaviour
reported in issue1864.

diff -r 52c078386433 -r fc54202a4b1e gwt-client/src/main/java/org/dive4elements/river/client/server/CapabilitiesParser.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/CapabilitiesParser.java	Mon Dec 28 17:54:29 2015 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/CapabilitiesParser.java	Wed Feb 03 18:35:18 2016 +0100
@@ -163,9 +163,7 @@
     protected static Capabilities parse(InputStream is)
     throws ServerException
     {
-        log.debug("GCServiceImpl.parseCapabilitiesResponse");
-
-        Document doc = XMLUtils.parseDocument(is, false);
+        Document doc = XMLUtils.parseDocument(is, false, null);
 
         if (doc == null) {
             throw new ServerException(ERR_GC_DOC_NOT_VALID);


More information about the Dive4Elements-commits mailing list