[mapserver-commits] r8885 - branches/branch-5-4/mapserver

svn at osgeo.org svn at osgeo.org
Tue Apr 7 16:30:23 EDT 2009


Author: dmorissette
Date: 2009-04-07 16:30:23 -0400 (Tue, 07 Apr 2009)
New Revision: 8885

Modified:
   branches/branch-5-4/mapserver/HISTORY.TXT
   branches/branch-5-4/mapserver/mapfile.c
Log:
Fixed writing of VALIDATION block in msSaveMap() (#2970)

Modified: branches/branch-5-4/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-4/mapserver/HISTORY.TXT	2009-04-07 15:15:48 UTC (rev 8884)
+++ branches/branch-5-4/mapserver/HISTORY.TXT	2009-04-07 20:30:23 UTC (rev 8885)
@@ -16,7 +16,9 @@
 
 - clean up GEOS init and cleanup functions (#2929) 
 
+- Fixed writing of VALIDATION block in msSaveMap() (#2970)
 
+
 Version 5.4.0-beta4 (2009-04-01):
 ---------------------------------
 

Modified: branches/branch-5-4/mapserver/mapfile.c
===================================================================
--- branches/branch-5-4/mapserver/mapfile.c	2009-04-07 15:15:48 UTC (rev 8884)
+++ branches/branch-5-4/mapserver/mapfile.c	2009-04-07 20:30:23 UTC (rev 8885)
@@ -3394,7 +3394,7 @@
   if (layer->type != -1)
     fprintf(stream, "    TYPE %s\n", msLayerTypes[layer->type]);
   fprintf(stream, "    UNITS %s\n", msUnits[layer->units]);
-  if(&(layer->validation)) writeHashTable(&(layer->metadata), stream, "    ", "VALIDATION");
+  if(&(layer->validation)) writeHashTable(&(layer->validation), stream, "    ", "VALIDATION");
 
   if(layer->classgroup) fprintf(stream, "    CLASSGROUP \"%s\"\n", layer->classgroup);
 
@@ -4229,7 +4229,7 @@
   if(web->legendformat != NULL) fprintf(stream, "    LEGENDFORMAT %s\n", web->legendformat);
   if(web->browseformat != NULL) fprintf(stream, "    BROWSEFORMAT %s\n", web->browseformat);
   if(web->template) fprintf(stream, "    TEMPLATE \"%s\"\n", web->template);
-  if(&(web->validation)) writeHashTable(&(web->metadata), stream, "    ", "VALIDATION");
+  if(&(web->validation)) writeHashTable(&(web->validation), stream, "    ", "VALIDATION");
   fprintf(stream, "  END\n\n");
 }
 



More information about the mapserver-commits mailing list