[Webkit-unassigned] [Bug 173923] [GTK] Blank page when expected "source" XML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 3 06:38:47 PDT 2017


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

--- Comment #3 from Dan Winship <danw at gnome.org> ---
(In reply to Carlos Garcia Campos from comment #2)
> I think it's the opposite, it tries to load it as HTML instead of XML. I
> think this is what the soup sniffer gives to us. In case of xml document
> soup considers it as a HTML document unless it's a RSS/RDF feed. I don't
> know why, though.

It looks like there's a bug/typo in the tables in soup-content-sniffer.c:

        { TRUE, FALSE,
          (const guchar *)"\x00\xFF\xFF\xFF\xFF\xFF",
          (const guchar *)" <?xml",
          5,
          "text/html",
          TRUE },

"text/html" should obviously be "text/xml"... Fixed in git.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170703/31291786/attachment.html>


More information about the webkit-unassigned mailing list