W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2009

[Bug 5992] Validator ignores HTML5 encoding declaration

From: <bugzilla@wiggum.w3.org>
Date: Fri, 20 Mar 2009 14:33:43 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Lkfn5-0002uT-GH@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5992


Olivier Thereaux <ot@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ot@w3.org




--- Comment #4 from Olivier Thereaux <ot@w3.org>  2009-03-20 14:33:42 ---
(In reply to comment #3)
> (In reply to comment #2)
> > The problem is in the HTML::Encoding perl module used by the validator. 

> I can't see how that can be the problem. 
[snip]
> as soon as the validator sees the
> new HTML doctype (introduced in HTML5 (<!DOCTYPE html>)) it should pass the
> whole document over to the validator.nu 

The validator 1) needs to know the encoding before it can preparse the document
and detect that doctype and 2) needs to know and decode the bytes before it can
pass the document to the validator.nu engine. It is not “just” a
redirection. 


-- 
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 Friday, 20 March 2009 14:33:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:34 UTC