[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 11:15:58 PDT 2009


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





--- Comment #9 from Mark Rowe (bdash) <mrowe at apple.com>  2009-10-20 11:15:57 PDT ---
(In reply to comment #8)
> (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.

What do you mean by “breaking the parsing"?   I’m not sure why you would expect
there to be a link to the libxml2 bugtracker here.

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

A document is not required to start with an XML declaration so this doesn’t
make much sense to me.

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