Mercurial > dive4elements > river
changeset 808:3187b268b311
Repaired broken XPath expression.
flys-client/trunk@2392 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 21 Jul 2011 16:06:29 +0000 (2011-07-21) |
parents | 6f65e70fa11d |
children | e9337488bac3 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu Jul 21 15:23:03 2011 +0000 +++ b/flys-client/ChangeLog Thu Jul 21 16:06:29 2011 +0000 @@ -1,3 +1,8 @@ +2011-07-21 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: + Added missing slash in XPath expression. + 2011-07-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultRecommendation.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java Thu Jul 21 15:23:03 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java Thu Jul 21 16:06:29 2011 +0000 @@ -50,7 +50,7 @@ public static final String XPATH_STATIC_ITEM_NODE = "art:item"; public static final String XPATH_RECOMMENDED_ARTIFACTS = - "/art:result/art:recommended-artifacts/*[@factory]"; + "/art:result/art:recommended-artifacts//*[@factory]"; /** * This method creates the {@link ArtifactDescription} of the DESCRIBE