[Webkit-unassigned] [Bug 69994] New: Reparse invalid XHTML documents as HTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 20:50:50 PDT 2011


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

           Summary: Reparse invalid XHTML documents as HTML
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://codecino.com/lab/yellow-screen-of-death/invalid
                    .xhtml
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: paul.irish at gmail.com


Opera recently announced they were ending draconian error handling of invalid XHTML documents. 
http://my.opera.com/ODIN/blog/2011/09/28/no-more-xml-parsing-failed-errors

If a document is XHTML, served as application/xhtml+xml, and is not wellformed, then in Opera's case, they will reparse as HTML.

WebKit should do the same. Draconian error handling is fine for the developer, but users gain no benefit at all. 
They want to see the content at a site, not a "Not wellformed Document" error page.

It's best for users to route XHTML parsing errors to the inspector and deliver the content to the screen.

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