Explorar o código

fixed missing ns for xlink in WFS

Piotr Labudda %!s(int64=9) %!d(string=hai) anos
pai
achega
9ff5feae0d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SE/se-lib/Api/WfsDataServer.php

+ 1 - 0
SE/se-lib/Api/WfsDataServer.php

@@ -262,6 +262,7 @@ if($DBG){echo 'getItems:';print_r($searchParams);echo "\n";}
 		$rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:wfs', 'http://www.opengis.net/wfs');
 		$rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:gml', 'http://www.opengis.net/gml');
 		$rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');
+		$rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xlink', 'http://www.w3.org/1999/xlink');
 		$rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:' . $wfsNs, $wfsNsUri);
 		if (!$simple) $rootNode->setAttributeNS('http://www.w3.org/2000/xmlns/', "xmlns:{$rootWfsNs}", $rootWfsNsUri);
 		//$rootNode->setAttribute('xsi:schemaLocation', 'http://www.opengis.net/wfs');