Преглед изворни кода

fixed namespace in WFS::describeFeatureType

Piotr Labudda пре 9 година
родитељ
комит
29be587d15
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      SE/se-lib/Api/WfsServerBase.php

+ 1 - 1
SE/se-lib/Api/WfsServerBase.php

@@ -1462,7 +1462,7 @@ if($DBG){echo 'L.' . __LINE__ . ' $validateConvertedTransactionXsdString:';print
 			$elNode = $dom->createElementNS('http://www.w3.org/2001/XMLSchema', 'xsd:element');
 			$rootNode->appendChild($elNode);
 			$elNode->setAttribute('name', $type);
-			$elNode->setAttribute('type', $acl->getSourceName() . ':' . $typeName);
+			$elNode->setAttribute('type', $nsPrefix . ':' . $typeName);// TODO: $acl->getSourceName() != $nsPrefix
 			if ($simple) {
 				$elNode->setAttribute('substitutionGroup', 'gml:_Feature');
 			} else {