<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hello guys!</div><div style="font-family:arial,sans-serif;font-size:13px">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 '{<a href="http://www.opengis.net/wfs%7DTransaction" target="_blank">http://www.opengis.net/wfs}Transaction</a>': 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. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The request i send looks like this:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><wfs:Transaction</div><div> service='WFS'</div><div> version='1.1.0'</div><div> xmlns:wfs='<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>'</div>
<div> xmlns:gml='<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>'</div><div> xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'</div>
<div> xmlns:map='<a href="http://www.tinyows.org/map" target="_blank">http://www.tinyows.org/map</a>'</div><div> xsi:schemaLocation='<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a></div>
<div> <a href="http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd</a></div><div> <a href="http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.1.0'/" target="_blank">http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.1.0'/</a>></div>
<div> <wfs:Insert></div><div> <map:nodes></div><div> <map:coord></div><div> <gml:Point srsDimension='2' srsName='urn:x-ogc:def:crs:EPSG:4326'></div><div> <gml:coordinates decimal='.' cs=',' ts=' '>30.454343,50.447954</gml:coordinates></div>
<div> </gml:Point></div><div> </map:coord></div><div> </map:nodes></div><div> </wfs:Insert></div><div></wfs:Transaction> </div><div><br></div><div>Any help would be much appreciated, thanks in advance</div>
<div><br></div><div>Best regards,</div><div>Vlad</div></div></div>