[Mapbender-commits] r9833 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 19 02:03:42 PST 2017


Author: armin11
Date: 2017-12-19 02:03:42 -0800 (Tue, 19 Dec 2017)
New Revision: 9833

Modified:
   trunk/mapbender/http/php/wms.php
Log:
Fix codespace/namespace handling for data service coupling in wms capabilities

Modified: trunk/mapbender/http/php/wms.php
===================================================================
--- trunk/mapbender/http/php/wms.php	2017-12-14 14:29:08 UTC (rev 9832)
+++ trunk/mapbender/http/php/wms.php	2017-12-19 10:03:42 UTC (rev 9833)
@@ -1219,8 +1219,8 @@
 		$Identifier = $doc->createElement("Identifier");
 		$Identifier->setAttribute('authority', md5($namespace));
 		//$Identifier = $layer->appendChild($Identifier);
-		$IdentifierText = $doc->createTextNode($datasetId);
-    		$IdentifierText = $Identifier->appendChild($IdentifierText);
+		$IdentifierText = $doc->createTextNode($namespace.$datasetId);
+    		$Identifier->appendChild($IdentifierText);
 		$IdentifierArray[] = $Identifier;
 		//$e = new mb_exception("i: ".$i);
 		//push entries into xml structure	



More information about the Mapbender_commits mailing list