[mapserver-commits] r9452 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Oct 13 15:47:03 EDT 2009


Author: assefa
Date: 2009-10-13 15:47:00 -0400 (Tue, 13 Oct 2009)
New Revision: 9452

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapogcfilter.c
Log:
OGC Filter: strip all namespaces (not only ogc, gml) (#1350)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2009-10-13 16:30:10 UTC (rev 9451)
+++ trunk/mapserver/HISTORY.TXT	2009-10-13 19:47:00 UTC (rev 9452)
@@ -14,6 +14,9 @@
 
 Current Version (SVN trunk):
 ----------------------------
+
+- OGC Filter: strip all namespaces (not only ogc, gml) (#1350)
+
 - Use decimal values for size and width in SVG output format (#2835)
 
 - Correct invalid test when loading movies in an swf ouput (#2524)

Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c	2009-10-13 16:30:10 UTC (rev 9451)
+++ trunk/mapserver/mapogcfilter.c	2009-10-13 19:47:00 UTC (rev 9452)
@@ -1322,9 +1322,8 @@
     if( psRoot == NULL)
        return NULL;
 
-    /* strip namespaces */
-    CPLStripXMLNamespace(psRoot, "ogc", 1); 
-    CPLStripXMLNamespace(psRoot, "gml", 1);
+    /* strip namespaces. We srtip all name spaces (#1350)*/
+    CPLStripXMLNamespace(psRoot, NULL, 1);
 
 /* -------------------------------------------------------------------- */
 /*      get the root element (Filter).                                  */



More information about the mapserver-commits mailing list