[Bug 5992] Validator ignores HTML5 encoding declaration

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5992


Dean Edridge <dean@dean.org.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dean@dean.org.nz




--- Comment #3 from Dean Edridge <dean@dean.org.nz>  2009-03-20 12:53:43 ---
(In reply to comment #2)
> The problem is in the HTML::Encoding perl module used by the validator. 
> There's a bug report open about it at
> https://rt.cpan.org/Ticket/Display.html?id=42497
> 

I can't see how that can be the problem. There may well be a problem with the
HTML::Encoding module, but that shouldn't affect (X)HTML5 validation. AFAICT
the W3C's part of the markup validator shouldn't even see the meta charset
(<meta charset="utf-8">) part of the webpage, 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 part of the validator for validation
and then the validator.nu should decide if the charset is correct or not, not
the main W3C validator.


-- 
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 12:53:52 UTC