Debian's Tidy 20091223cvs-1 transforms this valid XHTML file into an invalid one: it removes the empty li but keeps the ul element due to its class attribute!