[Bug 16516] New: Validator does not recognize the DOCTYPE legacy string

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16516

           Summary: Validator does not recognize the DOCTYPE legacy string
           Product: Validator (Nu)
           Version: unspecified
          Platform: PC
               URL: http://validator.w3.org/nu/?doc=data%3Atext%2Fhtml%2C%
                    253C!DOCTYPE%2520html%2520SYSTEM%2520%27about%3Alegacy
                    -compat%27%253E%253Ctitle%253E%253C%2Ftitle%253E&shows
                    ource=yes
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: mike+validator@w3.org
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: www-validator-cvs@w3.org


The validator does not accept the HTML5 legacy doctype:

http://www.w3.org/TR/html5/syntax.html#doctype-legacy-string

There are two variants of this doctype:

<!DOCTYPE html SYSTEM "about:legacy-compat">
<!DOCTYPE html SYSTEM 'about:legacy-compat'>

I would support putting out a warning - e.g. one could just quote what the spec
says: 

]] The DOCTYPE legacy string should not be used unless the document is
generated from a system that cannot output the shorter string. [[

But it does not make sense to stamp is as invalid, like the validator currently
does, when the spec says that it is valid.

-- 
Configure bugmail: https://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 Sunday, 25 March 2012 19:32:17 UTC