浏览代码

fix missed ns p5:

a.binder 8 年之前
父节点
当前提交
6b4dd3e450
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      SE/se-lib/Route/WfsBiAudit.php

+ 4 - 3
SE/se-lib/Route/WfsBiAudit.php

@@ -317,17 +317,17 @@ public function objectStructView($item) {
 										}
 									}
 								} else {
-									$this->AddChildComment($dataNode, " TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
+									$this->AddChildComment($dataNode, " #320 TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
 								}
 							}
 						} else {
-							$this->AddChildComment($dataNode," TODO add info ref ({$refKey}): " . str_replace('&', '&', var_export($refValue, true)) . " ");
+							$this->AddChildComment($dataNode," #323 TODO add info ref ({$refKey}): " . str_replace('&', '&', var_export($refValue, true)) . " ");
 						}
 					}
 				} else if (NULL === $value) {
 					$this->addChild($dataNode, "{$nsPrefix}:{$fieldName}"); // xs:nil ?
 				} else {
-					$this->AddChildComment($dataNode," TODO: " . var_export($value, true) . " ");
+					$this->AddChildComment($dataNode," #330 TODO: " . var_export($value, true) . " ");
 				}
 			}
 		} catch (Exception $e) {
@@ -354,6 +354,7 @@ public function objectStructView($item) {
 				'xmlns:gml' => 'http://www.opengis.net/gml',
 				'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
 				'xmlns:xlink' => 'http://www.w3.org/1999/xlink',
+				'xmlns:p5'    => 'https://biuro.biall-net.pl/wfs'
 			];
 
 			$wfs = $this->addChild($this->dom, 'wfs:FeatureCollection');