changeset 281:4ec95d586f31

Removed mistake in xml structure of the artifact protocol. gnv/trunk@357 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Nov 2009 14:48:33 +0000
parents 6cf73f5ea4a9
children d6c0d426e38a
files gnv/ChangeLog gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Fri Nov 13 20:54:52 2009 +0000
+++ b/gnv/ChangeLog	Fri Nov 20 14:48:33 2009 +0000
@@ -1,3 +1,9 @@
+2009-11-20  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java:
+	  Removed mistake from xml structure of the artifact protocol. Mime-type
+	  node was 'out' instead of 'mime-type'.
+
 2009-11-13  Hans Plum <hans@intevation.de>
 
 	RELEASE-0.2
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java	Fri Nov 13 20:54:52 2009 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java	Fri Nov 20 14:48:33 2009 +0000
@@ -642,7 +642,7 @@
         outNode.setAttribute("name", target);
         rootNode.appendChild(outNode);
 
-        Element mimeTypeNode = this.createArtifactElement(document, "out");
+        Element mimeTypeNode = this.createArtifactElement(document, "mime-type");
         mimeTypeNode.setAttribute("value", mimeType);
         outNode.appendChild(mimeTypeNode);
 

http://dive4elements.wald.intevation.org