|
|
@@ -25,21 +25,9 @@ class Api_WfsDataServer extends Api_WfsServerBase {
|
|
|
}
|
|
|
|
|
|
$rootTagName = V::get('tag', '', $tags[0]);
|
|
|
- if ('Transaction' == $rootTagName) {
|
|
|
- return $this->_parseTransactionXmlStruct($reqContent, $tags);
|
|
|
- }
|
|
|
-
|
|
|
- throw new Api_WfsException("TODO ... L." . __LINE__, 501);
|
|
|
-
|
|
|
- $xml = new SimpleXMLElement($reqContent);
|
|
|
- $namespaces = $xml->getNameSpaces(true);
|
|
|
+ if ('Transaction' == $rootTagName) return $this->_parseTransactionXmlStruct($reqContent, $tags);
|
|
|
|
|
|
- if ('Transaction' == $xml->getName()) {
|
|
|
- $this->_parseTransactionXml($xml);
|
|
|
- }
|
|
|
- else {
|
|
|
- throw new Api_WfsException("Not Implemented " . htmlspecialchars($xml->getName()), 501);
|
|
|
- }
|
|
|
+ throw new Api_WfsException("Not implemented '{$rootTagName}' #L." . __LINE__, 501);
|
|
|
}
|
|
|
|
|
|
public function getFeatureAction() {
|