<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23753</bug_id>
          
          <creation_ts>2013-11-07 08:31:50 +0000</creation_ts>
          <short_desc>A more informative message for “obsolete permitted DOCTYPE”</short_desc>
          <delta_ts>2013-11-07 08:31:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.w3.org/html/wg/drafts/html/master/syntax.html#obsolete-permitted-doctype-string</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>mike</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95936</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-11-07 08:31:50 +0000</bug_when>
    <thetext>Most obsolete features are errors. The warning message for obsolete permitted doctypes thus makes you wonder why it is a warning - and not an error:t

   “Warning: Obsolete doctype.
    Expected &lt;!DOCTYPE html&gt;.“

For contrast, the error message for the XHTML 1.0 Transitional doctype (which, btw, is an obsolete doctype too despite that the word is not used(!)), hints to the user that the doctype is an error because it *is not* a strict doctype:

   “Error: Almost standards mode doctype.
    Expected &lt;!DOCTYPE html&gt;”

Example of a new text for obsolete permitted doctypes:

   ”Warning: An excessively long, no-quirks/strict standards mode DOCTYPE.
    Expected &lt;!DOCTYPE html&gt;”

(&apos;excessively long&apos; is taken from the spec). This example 
  a) uses spec language, 
  b) hints to user *why* it is warned for but permitted:
     because it is a strict mode doctype. 

May be the wording&apos;obsolete permitted DOCTYPE&apos; should be worked into the message as well - not sure it is needed though. May be it is better to follow the pattern for the almost standard mode message, where &apos;obsolete&apos; is not used.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>