In http://lists.wikimedia.org/pipermail/wikitech-l/2009-July/044060.html we find we can just use validator.w3.org.