svn commit: r431 - trunk/mapbender/http/classes/class_wfs.php

astrid_emde at osgeo.org astrid_emde at osgeo.org
Tue Jun 13 08:09:55 EDT 2006


Author: astrid_emde
Date: 2006-06-13 12:09:55+0000
New Revision: 431

Modified:
   trunk/mapbender/http/classes/class_wfs.php

Log:
error in section namespace solved

Modified: trunk/mapbender/http/classes/class_wfs.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_wfs.php?view=diff&rev=431&p1=trunk/mapbender/http/classes/class_wfs.php&p2=trunk/mapbender/http/classes/class_wfs.php&r1=430&r2=431
==============================================================================
--- trunk/mapbender/http/classes/class_wfs.php	(original)
+++ trunk/mapbender/http/classes/class_wfs.php	2006-06-13 12:09:55+0000
@@ -387,8 +387,8 @@
 				$section = "namespace";
 				echo "namespace<br>";
 			}
-			//echo $element[attributes][name] . "<br/>";
-			if($section == "namespace"){
+			
+			if($section == "namespace"){		
 				while (list($k, $val) = each ($element[attributes])) {
    					if (substr($k, 0, 5) == "xmlns") {
 						$cnt = count($this->featuretype_namespace);
@@ -406,7 +406,7 @@
    					}
 				}
 			}
-			if($this->sepNameSpace($element[tag]) == "schema" && $element[type] == "close"){
+			if($this->sepNameSpace($element[tag]) == "complexType" && $element[type] == "open"){
 				$section = "";
 			}
 			if($this->sepNameSpace($element[tag]) == "complexContent" && $element[type] == "open"){




More information about the Mapbender_commits mailing list