comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 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 d03b8bbeb853
comparison
equal deleted inserted replaced
147:76cc1a66a05f 148:2649ada6b053
89 String uuid = item.getArtifactIdentifier(); 89 String uuid = item.getArtifactIdentifier();
90 90
91 log.debug("Append artifact '"+ uuid +"' to collection description"); 91 log.debug("Append artifact '"+ uuid +"' to collection description");
92 92
93 Element ci = ec.create("artifact"); 93 Element ci = ec.create("artifact");
94 ec.addAttr(ci, "uuid", uuid); 94 ec.addAttr(ci, "uuid", uuid, true);
95 95
96 PersistentArtifact pArtifact = backend.getArtifact(uuid); 96 PersistentArtifact pArtifact = backend.getArtifact(uuid);
97 Artifact artifact = pArtifact.getArtifact(); 97 Artifact artifact = pArtifact.getArtifact();
98 98
99 // XXX I am not sure if it works well every time with an empty document 99 // XXX I am not sure if it works well every time with an empty document

http://dive4elements.wald.intevation.org