[Bug 5992] Validator ignores HTML5 encoding declaration

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