[mapserver-users] [tinyOWS]Trouble with feature insertion

Serge Dikiy sdikiy at volz.ua
Fri Mar 22 00:28:24 PDT 2013


Hi, Vlad

Please show your configuration file (config.xml).

BR

On Thu, Mar 21, 2013 at 10:42 PM, Vlad Gapchich <gavlig at gmail.com> wrote:
> Hello guys!
> I was very glad to find that tinyows supports wfs-t and tried it out with a
> simple example. However, it didn't work and i can't find a particular reason
> for that. I dug deep into code and found out that error happens on
> xmlSchemaValidateDoc, error code 1843 -  Element
> '{http://www.opengis.net/wfs}Transaction': Character content other than
> whitespace is not allowed because the content type is 'element-only'. I
> understand that it's not directly tinyows' issue, but i doubt that it's
> libxml2 either.
>
> The request i send looks like this:
>
> <wfs:Transaction
>   service='WFS'
>   version='1.1.0'
>   xmlns:wfs='http://www.opengis.net/wfs'
>   xmlns:gml='http://www.opengis.net/gml'
>   xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
>   xmlns:map='http://www.tinyows.org/map'
>   xsi:schemaLocation='http://www.opengis.net/wfs
>
> http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd
>
> http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.1.0'/>
>   <wfs:Insert>
>     <map:nodes>
>       <map:coord>
>         <gml:Point srsDimension='2' srsName='urn:x-ogc:def:crs:EPSG:4326'>
>           <gml:coordinates decimal='.' cs=',' ts='
> '>30.454343,50.447954</gml:coordinates>
>         </gml:Point>
>       </map:coord>
>     </map:nodes>
>   </wfs:Insert>
> </wfs:Transaction>
>
> Any help would be much appreciated, thanks in advance
>
> Best regards,
> Vlad
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list