[Mapbender-commits] r8431 - branches/2.7/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jul 6 03:06:49 PDT 2012
Author: astrid_emde
Date: 2012-07-06 03:06:48 -0700 (Fri, 06 Jul 2012)
New Revision: 8431
Modified:
branches/2.7/http/classes/class_wfs.php
Log:
do not add xsi:schemaLocation= to transaction
# xsi:schemaLocation does not work with GS >2.1.
#"xsi:schemaLocation=\"http://www.opengis.net/wfs" .
#" http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd " .
#$strForSchemaLocation . " " . $this->describeFeatureType .
#$this->getConjunctionCharacter($this->describeFeatureType) .
#"typename=" . $featureType->name . "\"".
Modified: branches/2.7/http/classes/class_wfs.php
===================================================================
--- branches/2.7/http/classes/class_wfs.php 2012-07-06 10:05:21 UTC (rev 8430)
+++ branches/2.7/http/classes/class_wfs.php 2012-07-06 10:06:48 UTC (rev 8431)
@@ -344,12 +344,13 @@
"<wfs:Transaction version=\"" . $this->getVersion() .
"\" service=\"WFS\" " . $ns_gml . $ns_ogc . $ns_xsi .
$ns_featureNS . $ns_wfs .
- "xsi:schemaLocation=\"http://www.opengis.net/wfs" .
- " http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd " .
- $strForSchemaLocation . " " . $this->describeFeatureType .
- $this->getConjunctionCharacter($this->describeFeatureType) .
- "typename=" . $featureType->name .
- "\">" . $wfsRequest . "</wfs:Transaction>";
+ # xsi:schemaLocation does not work with GS >2.1.
+ #"xsi:schemaLocation=\"http://www.opengis.net/wfs" .
+ #" http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd " .
+ #$strForSchemaLocation . " " . $this->describeFeatureType .
+ #$this->getConjunctionCharacter($this->describeFeatureType) .
+ #"typename=" . $featureType->name . "\"".
+ ">" . $wfsRequest . "</wfs:Transaction>";
}
More information about the Mapbender_commits
mailing list