Subject: w3c-markup-validator: Broken HOMEPAGE support (Debian addition to 
upstream)
Package: w3c-markup-validator
Version: 0.7.4-4
Severity: minor

I noticed some warnings in my apache error logs, which contained
many repeats of each of:

error.log.22.gz:[Wed Jul 18 08:15:45 2007] check: Use of uninitialized value in 
concatenation (.) or string at /usr/lib/cgi-bin/check line 685.
error.log.22.gz:[Wed Jul 18 08:19:19 2007] check: Unrecognized escape \H passed 
through at /usr/lib/cgi-bin/check line 1025.

and, sure enough, I find lines 1023-1025 in sub report_valid saying:

      # Modification in Debian package: to make the package independent,
      # badges can be specified as being relative to the home page.
      $cfg->{Badge}->{URI} =~ s|^\HOMEPAGE/|$CFG->{'Home Page'}|;

from which I'm strongly inclined to suspect that you meant

      $cfg->{Badge}->{URI} =~ s|^\$HOMEPAGE/|$CFG->{'Home Page'}|;

(and that HOMEPAGE support probably isn't working !)

The error at line 685 (after comment "Tell onsgmls about the SGML
Library.")  presumably means some field of $CFG->{Paths}->{SGML}-> is
unset, but I can't immediately see where that gets its values, so
haven't investigated further.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages w3c-markup-validator depends on:
ii  apache2                    2.2.3-4+etch1 Next generation, scalable, extenda
ii  apache2-mpm-worker [httpd] 2.2.3-4+etch1 High speed threaded model for Apac
ii  debconf [debconf-2.0]      1.5.11        Debian configuration management sy
ii  libconfig-general-perl     2.31-3        Generic Configuration Module
ii  libhtml-parser-perl        3.55-1        A collection of modules that parse
ii  libhtml-template-perl      2.8-1         HTML::Template : A module for usin
ii  libnet-ip-perl             1.25-2        Perl extension for manipulating IP
ii  libset-intspan-perl        1.07-3.1      Manages sets of integers
ii  libtext-iconv-perl         1.4-3         converts between character sets in
ii  liburi-perl                1.35-2        Manipulates and accesses URI strin
ii  libwww-perl                5.805-1       WWW client/server library for Perl
ii  opensp                     1.5.2-3       OpenJade group's SGML parsing tool
ii  perl                       5.8.8-7etch1  Larry Wall's Practical Extraction 
ii  sgml-data                  2.0.3         common SGML and XML data
ii  w3c-dtd-xhtml              1.1-5         W3C eXtensible HyperText Markup La
ii  w3c-linkchecker            4.3-1         W3C Link Checker
ii  wwwconfig-common           0.0.48        Debian web auto configuration

Versions of packages w3c-markup-validator recommends:
ii  w3-dtd-mathml                 2.0.0.0-1  Mathematical Markup Language V2.0 

-- debconf information:
* w3c-markup-validator/webserver: Apache-SSL



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to