Package: wdg-html-validator Version: 1.6.2-1 Severity: grave Tags: patch Justification: renders package unusable
There's a missing comma in /usr/bin/validate which causes it to fail to run: $ validate String found where operator expected at /usr/bin/validate line 130, near ") 'XHTML 1.1 plus MathML 2.0'" (Missing operator before 'XHTML 1.1 plus MathML 2.0'?) syntax error at /usr/bin/validate line 130, near ") 'XHTML 1.1 plus MathML 2.0'" Execution of /usr/bin/validate aborted due to compilation errors. The attached patch adds the comma. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages wdg-html-validator depends on: ii libhtml-parser-perl 3.45-2 A collection of modules that parse ii libi18n-charset-perl 1.371-1 Perl module for mapping character ii libjconv-bin 2.8-4.0 charset conversion library - binar ii libunicode-map8-perl 0.12-1 Perl module to map 8bit character ii libunicode-string-perl 2.07-2 Perl modules for Unicode strings ii libwww-perl 5.803-4 WWW client/server library for Perl ii opensp 1.5.1.0-4 OpenJade group's SGML parsing tool ii perl 5.8.7-4 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 Versions of packages wdg-html-validator recommends: pn apache | httpd <none> (no description available) -- no debconf information
--- /usr/bin/validate.org 2005-08-31 09:58:26.000000000 -0400 +++ /usr/bin/validate 2005-08-31 09:58:45.000000000 -0400 @@ -126,7 +126,7 @@ # SGML declarations for a given level of HTML my %sgmlDecl = ( - 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl') + 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), 'XHTML 1.1 plus MathML 2.0' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), 'MathML 2.0' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), 'XHTML 1.1' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'),