[TinyOWS-users] Problem inserting new features
Jessica Lapointe
jlapointe at mapgears.com
Fri Dec 2 14:41:08 EST 2011
Hello,
I'm having trouble in inserting new features in my db. In fact I have
the same problem as described in there:
http://lists.maptools.org/pipermail/tinyows-users/2010-November/000230.html
I use openlayers 2.11 and tinyows trunk revision 615.
I'm able to update and delete data with no problem. If I insert simple
features containing only geometry it also works. But if my new feature
has data, my xml response in firebug will be "XML request isn't
valid". Tinyows' log says :
[Fri Dec 2 14:30:11 2011] [ERROR] Element '{http://127.0.0.1/}name':
This element is not expected.
[Fri Dec 2 14:30:11 2011] [ERROR] XML request isn't valid
The xml sent to tinyows is the following:
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Insert>
<feature:popplace xmlns:feature="http://127.0.0.1/">
<feature:the_geom>
<gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326">
<gml:coordinates decimal="." cs="," ts="
">-45.925780534744,-11.97656750679</gml:coordinates>
</gml:Point>
</feature:the_geom>
<feature:name>test</feature:name>
</feature:popplace>
</wfs:Insert>
</wfs:Transaction>
Any help would be appreciated.
More information about the TinyOWS-users
mailing list