[PATCH] Fix D4E framework API-call

Wald Commits scm-commit at wald.intevation.org
Mon May 15 16:36:55 CEST 2017


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1494858999 -7200
# Node ID a022049975464df2948981414b0880f70735d907
# Parent  6d25d8f81168b2a9c6f30ca2f89533323f4a0766
Fix D4E framework API-call.

diff -r 6d25d8f81168 -r a02204997546 backend/src/main/java/org/dive4elements/river/importer/Importer.java
--- a/backend/src/main/java/org/dive4elements/river/importer/Importer.java	Mon May 15 16:23:27 2017 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/Importer.java	Mon May 15 16:36:39 2017 +0200
@@ -118,7 +118,7 @@
             return null;
         }
 
-        Document rules = XMLUtils.parseDocument(file);
+        Document rules = XMLUtils.parseDocument(file, false, null);
 
         if (rules == null) {
             log.warn("cannot parse annotation types file.");


More information about the Dive4Elements-commits mailing list