[mapserver-commits] r11300 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Mar 22 10:34:15 EDT 2011


Author: assefa
Date: 2011-03-22 07:34:15 -0700 (Tue, 22 Mar 2011)
New Revision: 11300

Modified:
   trunk/mapserver/mapogcsld.c
Log:
sld Text symbolizser changed to new expression syntax (#3757)

Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c	2011-03-22 11:19:08 UTC (rev 11299)
+++ trunk/mapserver/mapogcsld.c	2011-03-22 14:34:15 UTC (rev 11300)
@@ -2861,7 +2861,7 @@
                              strcasecmp(psTmpNode->pszValue,"PropertyName") ==0 &&
                              CPLGetXMLValue(psTmpNode, NULL, NULL))
                     {
-                        snprintf(szTmp, sizeof(szTmp), "[%s]", CPLGetXMLValue(psTmpNode, NULL, NULL));
+                        snprintf(szTmp, sizeof(szTmp), "\"[%s]\"", CPLGetXMLValue(psTmpNode, NULL, NULL));
                         pszClassText = msStringConcatenate(pszClassText, szTmp);
                     }
                     psTmpNode = psTmpNode->psNext;



More information about the mapserver-commits mailing list