- From: Casey Boettcher <caseyhboettcher@yahoo.com>
- Date: Wed, 17 Dec 2003 14:10:02 -0800 (PST)
- To: www-validator@w3.org
Wed Dec 17 06:31:06 AST 2003 Recently installed the validator locally, and have run into the following problem: the transcode routine does not appear to work as intended. More specifically, it produces the following output in the httpd error log: [Wed Dec 17 04:57:05 2003] check: Use of uninitialized value in split at /opt/www/w3c-validator/check line 2261. [Wed Dec 17 04:57:05 2003] check: Use of uninitialized value in string eq at /opt/www/w3c-validator/check line 1335. [Wed Dec 17 04:57:05 2003] check: Use of uninitialized value in string eq at /opt/www/w3c-validator/check line 2264. [Wed Dec 17 04:57:05 2003] check: Use of uninitialized value in string eq at /opt/www/w3c-validator/check line 2264. [Wed Dec 17 04:57:05 2003] check: Use of uninitialized value in string ne at /opt/www/w3c-validator/check line 2279. Line 2261 is as follows: my ($command, $result_charset) = split " ", $CFG->{Charsets}->{$File->{Charset}}->{Use}}, 2; The uninitialized value mentioned in the log is the variable $CFG->{Charsets}->{$File->{Charset +}}->{Use}} When I set the vars $command and $result_charset explicityly, like so (where $result_charset is the IANA code for the actual encoding used on the input file; in this case the input file was in windows-1252 format): my $command = 'I'; my $result_charset = 'cp1252'; everything works well, the file is parsed according to its DOCTYPE, etc (this problem occurs only when I attempt to load a file from outside of the server, since I've instructed the sending server to serve everthing encoded as UTF-8, thus avoiding any sort of transcoding problem). I've checked my validator.conf file, and it's pointing to the check script to the correct location of charset.cfg (which is the unaltered version I unpacked from the tarball distributed via the validator.w3c.org site--downloaded this tarball December 14, 2003. My platform and software are as follows: Debian 3.0 / Kernel 2.4 Apache 1.3.26 OpenSP 1.5 Perl 5.6 CGI.pm 3.01 HTML-Parser 3.35 libwww-perl 5.76 Set-IntSpan 1.07 URI 1.28 Text-IconV 1.2 Thanks very much for your time. Any assistance will be greatly appreciated, Casey ===== Casey Boettcher Voluntario, Cuerpo de Paz Constanza, República Dominicana caseyhboettcher@yahoo.com __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Received on Wednesday, 17 December 2003 17:12:15 UTC