[Webkit-unassigned] [Bug 66055] The XML parser doesn't (always) default to UTF-8 when HTTP charset or encoding declaration is lacking

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 13 15:09:51 PDT 2011


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





--- Comment #1 from Leif Halvard Silli <xn--mlform-iua at xn--mlform-iua.no>  2011-08-13 15:09:51 PST ---
A special case of this bug is when ""an XML document may be in a subframe inside an HTML one"" - see bug 66056#c13

Test page - HTML page with XHTML subframe: <http://malform.no/testing/html5/bom/frame>
   Results: 
      Webkit lets the XHTML page inherit the encoding from the HTML page ... 
      IE9 and Firefox do not have this bug.

For reference:  Subframe served as HTML <http://malform.no/testing/html5/bom/frame4>
   Results: 
      Now, Webkit respects the encoding declaration of the subframe
      Firefox and IE6 to IE9 behaves like Webkit, except that they do not have bug 17873 ("Encoding override should not be persistent") 

Comment: It is quite weird that the HTML page works better and safer (when it comes to encoding) than the XHTML file. And the only reason for this weirdness is because Webkit does not follow XML 1.0's encoding rules.

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