[mapserver-commits] r11722 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed May 18 11:06:40 EDT 2011
Author: aboudreault
Date: 2011-05-18 08:06:40 -0700 (Wed, 18 May 2011)
New Revision: 11722
Modified:
trunk/mapserver/MIGRATION_GUIDE.txt
Log:
Added a note about mapfile quote escaping in the migration guide
Modified: trunk/mapserver/MIGRATION_GUIDE.txt
===================================================================
--- trunk/mapserver/MIGRATION_GUIDE.txt 2011-05-17 15:07:31 UTC (rev 11721)
+++ trunk/mapserver/MIGRATION_GUIDE.txt 2011-05-18 15:06:40 UTC (rev 11722)
@@ -178,6 +178,31 @@
prefixed entries as fallback which is dropped in version 6.0 in favor of
forcing explicit decisions.
+--------------------------------------------------------
+Mapfile Changes - Ability to escape single/double quotes
+--------------------------------------------------------
+
+We can now escape single and double quotes in strings and logical
+expressions. Examples:
+
+::
+
+ NAME "RO\"AD" # double quote inside a a double quote delimited string
+ NAME 'RO\'AD' # single quote inside a a single quote delimited string
+ FILTER ('[CTY_NAME]' = 'Ita\'sca') # logical expression that contains a single quote
+
+NOTE: The escape character (backslash) will only work if the
+following character is ", ' or \.
+
+For Windows users: if you have a path string delimited by single/double
+quotes that ends with \, you will have to escape the last backslash.
+
+::
+
+ SHAPEPATH "C:\ms4w\shapefiles\"
+ # should be modified to...
+ SHAPEPATH "C:\ms4w\shapefiles\\"
+
---------------------
PHP MapScript Changes
---------------------
More information about the mapserver-commits
mailing list