W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2013

[Bug 23738] NU validator issues error for any “obsolete permitted DOCTYPE”

From: <bugzilla@jessica.w3.org>
Date: Wed, 06 Nov 2013 12:03:18 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-23738-169-dlMyYlG2wE@http.www.w3.org/Bugs/Public/>

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
Thanks. Big (and fast(!) improvement. However, the new message goes like this:

   “Warning: Obsolete doctype.
    Expected <!DOCTYPE html>.“

But for the XHTML1 Transitional doctype, one gets this, much more informative

   “Error: Almost standards mode doctype.
    Expected <!DOCTYPE html>”

Also, it seems useful to borrow spec’s exact wording - "obsolete permitted

Therefore, please consider something like this:

   ”Warning: No-quirks mode, obsolete permitted DOCTYPE.
    Expected <!DOCTYPE html>”

Justification: A message that just says ”obsolete doctype”, without using the
word ”error”, is a bit confusing. Also, “obsolete doctype” is very uneducating
- it is better to indicate *why* “obsolete” only leads to a warning, namely,
because the DOCTYPE triggers no-quirks mode and because it is on the list of
"obsolete permitted doctypes".

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 6 November 2013 12:03:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:21 UTC