[OpenLayers-Users] Incomplete msGMLOutput causes infinite loop

Alexandre Dube adube at mapgears.com
Fri Jan 29 11:54:08 EST 2010


Hi,

  I looked at the tickets and couldn't find any refering to this issue 
so I create one [1].  Yves, could you please attach your patch to it ?  
I'm interested in this fix too.

Regards,

Alexandre

[1] http://trac.openlayers.org/ticket/2451


Yves Moisan wrote:
>> 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
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list