- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 15 Aug 2007 01:33:33 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv23607 Modified Files: check Log Message: silencing HTTP / XML decl charset mismatch warning in case of direct input mode Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.555 retrieving revision 1.556 diff -u -d -r1.555 -r1.556 --- check 7 Aug 2007 02:32:49 -0000 1.555 +++ check 15 Aug 2007 01:33:30 -0000 1.556 @@ -2094,7 +2094,8 @@ # # Add a warning if there was charset info conflict (HTTP header, # XML declaration, or <meta> element). - if (charset_not_equal($File->{Charset}->{HTTP}, $File->{Charset}->{XML})) { + # filtering out some of the warnings in direct input mode where HTTP encoding is a "fake" + if ((charset_not_equal($File->{Charset}->{HTTP}, $File->{Charset}->{XML})) and not ($File->{'Direct Input'})) { &add_warning('W18', { W18_http => $File->{Charset}->{HTTP}, W18_xml => $File->{Charset}->{XML},
Received on Wednesday, 15 August 2007 01:33:38 UTC