[Webkit-unassigned] [Bug 30508] [libxml2] parsing broken with libxml2 >= 2.7.6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 03:31:02 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30508


Mark Rowe (bdash) <mrowe at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever Confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW




--- Comment #14 from Mark Rowe (bdash) <mrowe at apple.com>  2009-10-21 03:31:01 PDT ---
After staring at the libxml2 for a while I’ve worked out what is going on.  The
change in question causes libxml2 to decode the first chunk of data we pass it
in two goes.  It first decodes enough data to try and parse the XML
declaration.  Once it has parsed this it then decodes the rest of the chunk and
continues parsing.  Since it is decoded in two parts the encoding switch that
happens as a result of parsing the XML declaration’s encoding name leads
libxml2 to decode the remaining data in the chunk with the wrong encoding.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list