[Webkit-unassigned] [Bug 30508] [libxml2] parsing broken with libxml2 >= 2.7.5
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 26 15:58:31 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=30508
--- Comment #33 from Mark Rowe (bdash) <mrowe at apple.com> 2010-08-26 15:58:30 PST ---
(In reply to comment #32)
> (From update of attachment 65635 [details])
> Why is the 3rd switch needed? CAn we write a test case for this?
I would assume it’s needed to fix the bug. Per my analysis in comment 14, libxml2 is now switching the encoding in the middle of a single chunk after it parses the XML declaration. That point corresponds to the startDocumentHandler callback. This patch switches the encoding back to UTF-16 at that point. The ChangeLog should really explain all of this though.
Has this patch been tested with older versions of libxml2?
--
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