[PATCH 1 of 2] Use new XMLUtils signature when loading themes

Wald Commits scm-commit at wald.intevation.org
Mon Feb 22 17:28:38 CET 2016


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1456158371 -3600
# Node ID 54e515504a3fe92c01e4c4d9746109001aecc6b2
# Parent  a4d8b3c6fb57b4559ea123f308a06169a1f2e381
Use new XMLUtils signature when loading themes.

diff -r a4d8b3c6fb57 -r 54e515504a3f artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.java	Thu Dec 17 17:07:53 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.java	Mon Feb 22 17:26:11 2016 +0100
@@ -511,7 +511,7 @@
 
         log.debug("Parse theme cfg: " + themeConfig);
 
-        return XMLUtils.parseDocument(new File(themeConfig));
+        return XMLUtils.parseDocument(new File(themeConfig), true, XMLUtils.CONF_RESOLVER);
     }
 
 


More information about the Dive4Elements-commits mailing list