use warnings; use strict; require 't/LintTest.pl'; checkit( [ [ 'attr-unknown' => qr/Unknown attribute "bongo" for tag / ], ], [] ); =pod HTML::Lint 2.02 and weblint, Red Hat EL 3 This should result in no warnings: echo 'qwerasdf' | weblint - - (1:45) Unknown attribute "id" for tag but it gives: - (1:45) Unknown attribute "id" for tag id is a core attribute in HTML4/XHTML1: http://www.w3.org/TR/html4/html40.txt =cut __DATA__ Test stuff

A test for this bug.

Bad Bad