The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl

use warnings;
use strict;

use lib 't/';
use Util;

checkit( [
    [ 'attr-unclosed-entity' => qr/Entity ? is missing its closing semicolon/ ],
    [ 'attr-unclosed-entity' => qr/Entity ö is missing its closing semicolon/ ],
], [<DATA>] );

__DATA__
<HTML>
    <HEAD>
        <TITLE>Test stuff</TITLE>
    </HEAD>
    <BODY BGCOLOR="Unclosed entity at end of attr &#63">
    <a href="http://imotorhead.com/" title="Mot&ouml rhead rulez!">Mot&ouml;rhead</a>
    <a href="http://imotorhead.com/" title="Mot&ouml; rhead rulez!">Mot&ouml;rhead</a>
    </BODY>
</HTML>