Mercurial > dive4elements > river
changeset 3264:eb9f7fd77edf
Fixed XPath typo
flys-artifacts/trunk@4903 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 08 Jul 2012 16:20:09 +0000 (2012-07-08) |
parents | 68320805566a |
children | c1f445b94d03 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Sun Jul 08 16:14:17 2012 +0000 +++ b/flys-artifacts/ChangeLog Sun Jul 08 16:20:09 2012 +0000 @@ -1,3 +1,8 @@ +2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: + Fixed XPath typo. + 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java Sun Jul 08 16:14:17 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java Sun Jul 08 16:20:09 2012 +0000 @@ -42,7 +42,7 @@ "/artifact-database/floodmap/river[@name=$river]/srid/@value"; public static final String XPATH_RIVER_BACKGROUND = - "/artifact-database/floodmap/river[@name='%RIVER%']/background-wms"; + "/artifact-database/floodmap/river[@name=$river]/background-wms"; public static final String XPATH_RIVER_WMS = "/artifact-database/floodmap/river[@name=$river]/river-wms/@url";