[Mapbender-commits] r7672 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 2 10:32:40 EST 2011


Author: verenadiewald
Date: 2011-03-02 07:32:40 -0800 (Wed, 02 Mar 2011)
New Revision: 7672

Modified:
   trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
Log:
include numbers 0-9 into namespace pattern

Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2011-03-02 15:15:21 UTC (rev 7671)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2011-03-02 15:32:40 UTC (rev 7672)
@@ -402,7 +402,7 @@
 			var filter = "<ogc:Filter>";
 
 			var ftName = wfs_config[js_wfs_conf_id[i]]['featuretype_name'];
-			var pattern = /:[a-zA-Z_]+/;
+			var pattern = /:[0-9a-zA-Z_]+/;
 			var ftns = "";
 			if (ftName.match(pattern)) {
 				ftns = ftName.replace(pattern, ":");
@@ -454,7 +454,7 @@
 			var filter = "<ogc:Filter>";
 
 			var ftName = wfs_config[js_wfs_conf_id[i]]['featuretype_name'];
-			var pattern = /:[a-zA-Z_]+/;
+			var pattern = /:[0-9a-zA-Z_]+/;
 			var ftns = "";
 			if (ftName.match(pattern)) {
 				ftns = ftName.replace(pattern, ":");
@@ -527,7 +527,7 @@
 // The coordinates come from the current client (?)
 //			var srs = wfs_config[js_wfs_conf_id[i]]['featuretype_srs'];
 			var ftName = wfs_config[js_wfs_conf_id[i]]['featuretype_name'];
-			var pattern = /:[a-zA-Z_]+/;
+			var pattern = /:[0-9a-zA-Z_]+/;
 			var ftns = "";
 			if (ftName.match(pattern)) {
 				ftns = ftName.replace(pattern, ":");



More information about the Mapbender_commits mailing list