changeset 148:2649ada6b053

Bugfix: Added a missing artifact namespace prefix in the DESCRIBE document of a FLYSArtifactCollection. flys-artifacts/trunk@1568 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 25 Mar 2011 10:23:59 +0000
parents 76cc1a66a05f
children 5a7662bb948c
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Mar 24 18:47:07 2011 +0000
+++ b/flys-artifacts/ChangeLog	Fri Mar 25 10:23:59 2011 +0000
@@ -1,3 +1,9 @@
+2011-03-25  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
+	  Added missing artifact namespace of an attribute in the DESCRIBE
+	  document.
+
 2011-03-24  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Thu Mar 24 18:47:07 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Fri Mar 25 10:23:59 2011 +0000
@@ -91,7 +91,7 @@
         log.debug("Append artifact '"+ uuid +"' to collection description");
 
         Element ci   = ec.create("artifact");
-        ec.addAttr(ci, "uuid", uuid);
+        ec.addAttr(ci, "uuid", uuid, true);
 
         PersistentArtifact pArtifact = backend.getArtifact(uuid);
         Artifact artifact            = pArtifact.getArtifact();

http://dive4elements.wald.intevation.org