[Mapbender-commits] r7673 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 2 10:33:30 EST 2011


Author: verenadiewald
Date: 2011-03-02 07:33:30 -0800 (Wed, 02 Mar 2011)
New Revision: 7673

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

Modified: branches/2.7/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- branches/2.7/http/javascripts/mod_wfs_SpatialRequest.php	2011-03-02 15:32:40 UTC (rev 7672)
+++ branches/2.7/http/javascripts/mod_wfs_SpatialRequest.php	2011-03-02 15:33:30 UTC (rev 7673)
@@ -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