flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: If you convert XML to string READ THIS!!!
Date Sun, 24 Jan 2016 10:09:23 GMT
Hi Joel,

I should have read your post better when I first saw it. We’re having the same trouble.

FWIW, a try/catch to convert the XML string back to XML should work as a cheap check that
the conversion worked.

Harbs

On Dec 18, 2015, at 5:36 PM, Joel Marks <joel@workiva.com> wrote:

> I want to make everyone aware of a bug that Adobe is saying is in Chrome.
> If you use xml.toXMLString() or xml.toString() or String(xml) there is a
> possibility that your xml is going to be clipped for users that are on 32
> bit Chrome on Windows.
> 
> If you want more information you can refer to the Chrome bug ticket
> <https://code.google.com/p/chromium/issues/detail?id=570776> we have
> created.
> 
> After looping 5000 times over xml that has 100 nodes with 100 attributes of
> 130 characters it failed 190 times and every time passed after doing
> another .toXMLString()
> 
> Here <https://gist.github.com/anonymous/191a19686e7b4acfcdab> is how we are
> fixing it (Spoiler: We just retry)


Mime
View raw message