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

HTML5 validator does not validate encoding and doctype

From: Maxence BONTE <maxence.bonte@gmail.com>
Date: Sun, 30 Jun 2013 18:13:17 +0200
Message-ID: <CANTSjCh7m6=zzgs9_PhTqL=PKCMUKYKrJm1UyAd1BCbwy7ivZA@mail.gmail.com>
To: www-validator@w3.org
Hello,

I'm trying to validate the following page :
http://www.b-and-l-traduction.com/index.html

As a result I have two informations I don't care about, and the following
two errors :

   1.

   [image: Warning] No Character Encoding Found! Using utf-8.

   None of the standards sources gave any information on the character
   encoding labeling for this document. The character encoding utf-8, which
   you have chosen via the Encoding override option, will be used for
   tentative validation.

   Read the FAQ entry on character
encoding<http://validator.w3.org/docs/help.html#faq-charset>for more
details and pointers on how to fix this problem with your document.
   2.

   [image: Warning] DOCTYPE Override in effect!

   The DOCTYPE Declaration for "HTML5" has been inserted at the start of
   the document, but even if no errors are shown below the document will not
   be Valid until you add the new DOCTYPE Declaration.

Both are quite surprising to me as I used the standard HTML5 encoding
declaration:
<meta charset="utf-8">
and doctype declaration:
<!DOCTYPE HTML>

Is the error coming from me or from the validator ?

Thanks in advance.

Max
Received on Monday, 1 July 2013 12:28:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC