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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 02:21:39 PDT 2009


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





--- Comment #8 from Philippe Normand <pnormand at igalia.com>  2009-10-20 02:21:37 PDT ---
(In reply to comment #7)
> It’d help to have a description of what the problem is and how the attached
> patch fixes it.

As I mentionned in the bug description there are 2 issues:

- the hacks we have in place to switch encoding to utf-16 before parsing each
chunk are breaking the parsing with recent libxml2 (>= 2.7.3, afaics). There is
no link to libxml2 bugtracker along with those hacks.
- parsing a chunk will fail if no xml preamble is present. In doWrite I can
check the value of  m_sawFirstElement and insert the preamble if needed, would
that be a better solution?

-- 
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