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

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

From: Greg Sabin <movingpictures4u@yahoo.com>
Date: Tue, 14 Aug 2007 23:11:09 -0700 (PDT)
To: olivier Thereaux <ot@w3.org>
Cc: www-validator@w3.org
Message-ID: <491859.31531.qm@web30603.mail.mud.yahoo.com>
well ok then...........

olivier Thereaux <ot@w3.org> wrote:  

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.

Pinpoint customers who are looking for what you sell. 
Received on Wednesday, 15 August 2007 06:11:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC