[Bug 6449] New: Document Type detection from VERSION attribute


           Summary: Document Type detection from VERSION attribute
           Product: Validator
           Version: 0.8.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: ubipetrus@earthlink.net
         QAContact: www-validator-cvs@w3.org

A nice thing would be:
1) If the document has no <!DOCTYPE> declaration, and
2) If no Document Override is specified to the validator, and
3) If the document's Attribute "VERSION" of the "HTML" Element tag specifies a
valid version of HTML,
Then the document should be parsed in accordance with the version of HTML
specified in the VERSION attribute.
The lack of a <!DOCTYPE> declaration would still be a valid warning regarding
the document, which would still not be Valid HTML until a <!DOCTYPE> is
e. g. a document that begins with:
<HTML VERSION="-//W3C//DTD HTML 3.2 Final//EN"> 
should be parsed as HTML 3.2.

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 Monday, 19 January 2009 20:49:17 UTC