[Bug 10805] New: treating single quotes as double quotes not needed for compatibility with existing content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10805

           Summary: treating single quotes as double quotes not needed for
                    compatibility with existing content
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/Overview.html#content-typ
                    e-sniffing
        OS/Version: Windows NT
            Status: NEW
          Keywords: NE
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: julian.reschke@gmx.de
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org
            Blocks: 10804


Created attachment 916
  --> http://www.w3.org/Bugs/Public/attachment.cgi?id=916
test case for charset in single quotes

<http://dev.w3.org/html5/spec/Overview.html#content-type-sniffing>:

"Process the next character as follows:

If it is a U+0022 QUOTATION MARK ('"') and there is a later U+0022 QUOTATION
MARK ('"') in s
If it is a U+0027 APOSTROPHE ("'") and there is a later U+0027 APOSTROPHE ("'")
in s
    Return the encoding corresponding to the string between this character and
the next earliest occurrence of this character."

This is indeed a violation of the Content-Type syntax defined in RFC 2616, in
treating single quotes as allowed quoting characters.

The spec claims that this is required for "backwards compatibility with legacy
content".

I'm attaching a test case that shows that the following browsers do *not* treat
single quotes as defined by the spec:

IE6, IE8, IE9beta, Konqueror 4.4

Please remove the requirement.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 29 September 2010 11:36:25 UTC