[OpenLayers-Users] Incomplete msGMLOutput causes infinite loop

Yves Moisan yves.moisan at boreal-is.com
Thu Jan 7 09:29:23 EST 2010


> Yes, I think the format should behave gracefully on such cases. IIRC
> with the patch I committed for WFS the format doesn't throw an
> exception or ouput an error message, it just silently returns no
> features. But I agree it may make sense to warn the caller by raising
> an exception or something.

Here's a very basic patch that at least prevents hanging.  I don't know
what to look for in terms of error to trigger a more meaningful message
such as "truncated xml".

Cheers,

Yves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getSiblingNodesByTagCriteria.patch
Type: text/x-patch
Size: 2620 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100107/0b8b265f/getSiblingNodesByTagCriteria.bin


More information about the Users mailing list