WFS transaction fails
---------------------
Key: GEOS-515
URL: http://jira.codehaus.org/browse/GEOS-515
Project: GeoServer
Type: Bug
Components: WFS
Versions: 1.3.0 RC6
Environment: Windows, java 1.5, geoserver 1.3.0RC6, UDIG 1.0.5
Reporter: jean marie nulmans
Assigned to: dblasby
Attachments: TestTransaction.zip
Committing a change to a geometry loaded from a geoserver WFS feature type, results in an exception (ClassCastException).
After analysing the posted update transaction, it appears that the problem occurs whenever there is a space between the </gml:Point> and the </Value> (I tested a line and a point and did some further analysis on the point test). In the case of Udig, newlines are placed in the produced xml request. Even when writing an ASCII input file, the error occurs when putting the two tags on different lines and even when leaving a space between the </gml:Point> and the </Value> tags.
I suppose that the geoserver makes some assumption in its code with regard to this space between the two tags.
I have attached 3 files thata contain transactions that failed as well as the corrected versions. (I also included the small test program that I used to send the xml file to the geoserver).
How can I get around this problem so that I can use the UDIG for updating the geometries ?
Thanks,
Jean Marie
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira