comparison artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.java @ 8808:54e515504a3f

Use new XMLUtils signature when loading themes.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 22 Feb 2016 17:26:11 +0100
parents c57b0400ac98
children 5e38e2924c07
comparison
equal deleted inserted replaced
8798:a4d8b3c6fb57 8808:54e515504a3f
509 509
510 themeConfig = Config.replaceConfigDir(themeConfig); 510 themeConfig = Config.replaceConfigDir(themeConfig);
511 511
512 log.debug("Parse theme cfg: " + themeConfig); 512 log.debug("Parse theme cfg: " + themeConfig);
513 513
514 return XMLUtils.parseDocument(new File(themeConfig)); 514 return XMLUtils.parseDocument(new File(themeConfig), true, XMLUtils.CONF_RESOLVER);
515 } 515 }
516 516
517 517
518 protected void configureThemesMappings(Document cfg, RiverContext context) { 518 protected void configureThemesMappings(Document cfg, RiverContext context) {
519 log.debug("RiverContextFactory.configureThemesMappings"); 519 log.debug("RiverContextFactory.configureThemesMappings");

http://dive4elements.wald.intevation.org