Ticket #2237 (closed feature: fixed)
make WFS protocol and format more robust
| Reported by: | elemoine | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Protocol.WFS | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Complete |
Description
I've recently come across the case where a WFS server sends back incomplete (truncated) GetFeature responses.
In Internet Explorer this results in a js error in the XML Format's readNode method, because the node argument passed to the readNode method is null.
In FireFox this results in a js error in the GML format (in the feature["*"] reader of the GML.Base format). The error occurs later than in IE because FireFox creates a parsererror XML document when it fails to parse the XML.
The js error can be reproduced, both in FF and IE, with the test_badxml test in test.patch.
Patch to follow.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

