W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: character encoding in XML declaration mismatching HTTP header (?!) of direct input

From: olivier Thereaux <ot@w3.org>
Date: Wed, 15 Aug 2007 10:36:07 +0900
Message-Id: <D9F50965-905A-4C1B-BA8C-090840B76083@w3.org>
Cc: www-validator@w3.org
To: Ruud Steltenpool <r.g.steltenpool@student.utwente.nl>


On Aug 15, 2007, at 05:54 , Ruud Steltenpool wrote:
> I guess the direct input is temporarily saved in some way and then  
> HTTPserved to the validator with a character encoding that is  
> always the same,

Almost. With direct input what's passed around is a utf-8 string, and  
the validator is indeed told to consider that as if it had been  
served a resource with utf-8 encoding declared at HTTP level.

> which results in an error report when it is different from the  
> character encoding found in the content if present.

Ack. Fixed in CVS, and a couple of test cases added to test suite.

Thanks Ruud.
-- 
olivier
Received on Wednesday, 15 August 2007 01:35:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:25 GMT