[OpenLayers-Users] GeoRSS format limits to 4k size the XML node into FF

Tim Schaub tschaub at opengeo.org
Wed Jul 2 01:22:58 EDT 2008


Hey-

Simone Gadenz wrote:
> Hi all,
> 
>  
> 
> probably you guys knew that Firefox has a limit of 4k on XML node 
> content. I have just realised because some of the lines I had loaded 
> from a GeoRSS file were cut after 4096 chars.
> 
>  
> 
> I have been said to use the line[0].textContent instead of the 
> line[0].firstChild.nodeValue but it works only in FF and not in IE.
> 
>  
> 
> How did you cope with it?
> 

I put a method called concatChildValues on the XML format for this 
purpose (to deal with large text nodes that are split by the browser 
into many nodes).

Please check the tickets to see if a similar one already exists.  If 
not, add a ticket describing the problem you encounter.  The solution is 
to use the concatChildValues method.

Tim

>  
> 
> Thanks
> 
>  
> 
> Simone
> 
> !DSPAM:4033,48626a0a153481015089218!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 
> !DSPAM:4033,48626a0a153481015089218!




More information about the Users mailing list