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

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

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
message:

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

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

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