|
|
@@ -155,15 +155,15 @@ class Api_WfsServerBase {
|
|
|
xmlns="http://www.opengis.net/wfs"
|
|
|
xmlns:ogc="http://www.opengis.net/ogc"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- <?php echo $this->_printXmlNamespaceList(); ?>
|
|
|
- <?php echo $this->_getXmlSchemaLocation(); ?>
|
|
|
+ <?= $this->_printXmlNamespaceList(); ?>
|
|
|
+ <?= $this->_getXmlSchemaLocation(); ?>
|
|
|
version="1.0.0">
|
|
|
<Service>
|
|
|
<Name>WFS</Name>
|
|
|
- <Title><?php echo $serviceTitle; ?></Title>
|
|
|
- <Abstract><?php echo $serviceDescription; ?></Abstract>
|
|
|
+ <Title><?= $serviceTitle; ?></Title>
|
|
|
+ <Abstract><?= $serviceDescription; ?></Abstract>
|
|
|
<Keywords>WFS, WMS</Keywords>
|
|
|
- <OnlineResource><?php echo $wfsServerUrl; ?></OnlineResource>
|
|
|
+ <OnlineResource><?= $wfsServerUrl; ?></OnlineResource>
|
|
|
<Fees>NONE</Fees>
|
|
|
<AccessConstraints>NONE</AccessConstraints>
|
|
|
</Service>
|
|
|
@@ -446,7 +446,7 @@ class Api_WfsServerBase {
|
|
|
public function _printXmlNamespaceList() {
|
|
|
$listNs = array();
|
|
|
foreach (Api_WfsNs::getNsList() as $uri => $prefix) {
|
|
|
- $listNs[] = 'xmlns:' . $prefix . '="' . $uri . '/default_db"';
|
|
|
+ $listNs[] = 'xmlns:' . $prefix . '="' . $uri . '"';
|
|
|
}
|
|
|
return implode("\n", $listNs);
|
|
|
}
|