Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 353:8378683fa07a
Bugfix: The outputs of a Collection's attribute document are stored in an outputs node now instead of being stored toplevel in the document.
flys-artifacts/trunk@1760 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 28 Apr 2011 11:13:06 +0000 |
parents | 2465dc296395 |
children | 8830eecad69e |
comparison
equal
deleted
inserted
replaced
352:ed3325a0232a | 353:8378683fa07a |
---|---|
256 getAttribute(), | 256 getAttribute(), |
257 getArtifactUUIDs(context)); | 257 getArtifactUUIDs(context)); |
258 | 258 |
259 Node out = (Node) XMLUtils.xpath( | 259 Node out = (Node) XMLUtils.xpath( |
260 attr, | 260 attr, |
261 "art:output[@name='" + output + "']", | 261 "art:outputs/art:output[@name='" + output + "']", |
262 XPathConstants.NODE, | 262 XPathConstants.NODE, |
263 ArtifactNamespaceContext.INSTANCE); | 263 ArtifactNamespaceContext.INSTANCE); |
264 | 264 |
265 | 265 |
266 if (out != null) { | 266 if (out != null) { |