Mercurial > dive4elements > river
changeset 4027:21cac9482958
Fix xpath for attributes
The attributes are using a namespace.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 04 Oct 2012 14:06:36 +0200 |
parents | c759da78f17a |
children | b993d328f8b0 |
files | flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java Thu Oct 04 14:05:45 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java Thu Oct 04 14:06:36 2012 +0200 @@ -32,8 +32,8 @@ private static final Logger logger = Logger.getLogger(GaugeDischargeCurveArtifact.class); - public static final String XPATH_RIVER = "/art:action/art:river/@name"; - public static final String XPATH_GAUGE = "/art:action/art:gauge/@reference"; + public static final String XPATH_RIVER = "/art:action/art:river/@art:name"; + public static final String XPATH_GAUGE = "/art:action/art:gauge/@art:reference"; public static final String NAME = "gaugedischargecurve"; public static final String STATIC_STATE_NAME = "state.gaugedischargecurve.static";