# HG changeset patch # User Björn Ricks # Date 1349352396 -7200 # Node ID 21cac94829583f6780aa9a4028208561e773d213 # Parent c759da78f17a271ac5ed592a2ad91ae45435fa87 Fix xpath for attributes The attributes are using a namespace. diff -r c759da78f17a -r 21cac9482958 flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java --- 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";