- From: Martin Duerst <duerst@abyss.w3.org>
- Date: Tue, 27 Aug 2002 10:52:47 -0400
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory rux.w3.org:/temp/tmp/cvs-serv24935 Modified Files: check Log Message: - new sub conflict: easy test for conflicts between charsets - new sub find_xml_encoding (extracting code from main) - implemented strict 'early lowercasing' policy for charsets - eliminating "<p>The command was "$command".</p>" because of no use to end user - Solved utf-16 vs. utf-16be/le problem: except for $File->{Charset}->{Auto} and $result_charset in &transcode_and_check, all instances are labels, and have to match exactly. - Strict test for 'utf-8' (never know who might create utf-88) - renamed validate_encoding to transcode_and_check - renamed validate_charset to charset_conflicts and rewrote it quite a bit (removed some actual functionality, but added more error checks). Removed Norvegian quotes where there were () anyway. Changed 'META element' to '<meta> element' (we don't want to use uc because of xhtml). Needs more error checks to be added. - Added UTF-16 to overrides (leaving be/le out until requested) - moved 'charset override' code, added $File->{Charset}->{Override} - always trying to get <meta> - removed utf-8 bom -> utf-8 default (only okay for xml!) - removed decoding pseudocode, not accurate anyway - fixed copyright -2002 - commented out unused subs parse_xml_decl and transcode - some comment tweaking
Received on Tuesday, 27 August 2002 10:52:50 UTC