[TinyOWS-users] xml isn't valid

Alexander Schäfer alexander.schaefer at intevation.de
Fri May 14 09:29:36 EST 2010


Hi Olivier,

yes i tried the HowTo-frieda example and got the same error: "xml isnt valid." 

Here is the query:

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" 
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs 
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://************ 
http://************/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;typename=tows:frida" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Query 
typeName="feature:frida" srsName="EPSG:31467" 
xmlns:feature="http://***********"><ogc:Filter 
xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope 
xmlns:gml="http://www.opengis.net/gml" 
srsName="EPSG:31467"><gml:lowerCorner>3076000 
5485200</gml:lowerCorner><gml:upperCorner>3924000 
6214800</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>

Insert polygon post

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" 
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs 
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://************* 
http://*************/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;typename=tows:frida" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Insert><feature:frida 
xmlns:feature="http://*************"><feature:the_geom><gml:MultiSurface 
xmlns:gml="http://www.opengis.net/gml" 
srsName="EPSG:31467"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>3609600 
5869200 3583200 5750000 3539200 5866800 3609600 
5869200</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></feature:the_geom></feature:frida></wfs:Insert></wfs:Transaction>
----------------------------------------------------------------------------------------

Alex


Am Freitag, 14. Mai 2010 11:29:34 schrieb Olivier Courtin:
> On May 14, 2010, at 10:05 AM, Alexander Schäfer wrote:
>
> Hi Alexander,
>
> > thanks for your recommendations.
> > I upgraded OL to 2.9 Version and use Tinyows-0.8 but still it will
> > not work.
> > ("xml isnt valid") I also checked my database and tinyows
> > configuration. I
> > have no idea why it is not possible to pass the schema validation.
>
> Ok did you followed the HowTo instructions ?
> http://tinyows.org/trac/wiki/OpenLayersHowToTransactional
>
> Could you send on list the XML query exchanged between OL and TinyOWS ?
> (you could use either Firebug or TinyOWS log to catch it)
>
> --
> Olivier
>
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users


-- 
Alexander Schäfer | ++49-541-335083-0 | http://www.intevation.de/ |
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the TinyOWS-users mailing list