[OpenLayers-Dev] WFS-T demo failing?
aaime at openplans.org
Tue May 29 11:40:40 EDT 2007
Christopher Schmidt ha scritto:
> The OpenLayers Development Team is proud to announce the final release of
> OpenLayers 2.4!
I've just tried again the OL version we ship in Geoserver to 2.4,
and noticed it does not work.
A sample insert request coming from that demo is:
decimal="." cs="," ts=" ">145.420508203125,-41.5523681640625
This request is non compliant, since
it does not include nor service="WFS" attribute in <Transaction>, nor
the version one.
I know, it may seem obvious, but the WFS Transaction schema is clear,
the service attribute is mandatory:
<xsd:element ref="wfs:LockId" minOccurs="0">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
type="xsd:string" use="required" fixed="1.0.0"/>
type="xsd:string" use="required" fixed="WFS"/>
Is there any way I can modify the sample to make it generate
a correct WFS-T request? I tried adding service and version attributes
to the WFS layer definiton, but to little effect (and since GetFeature
works, I must assume GetFeature does in fact have the attributes right).
Now, this issue was there in the 2.4-rc3 I tried originally, but
unfortunately due to a series of unfortunate events I did not report it
right away, and then forgot to do so.
So, sorry for reporting this late...
More information about the Dev