The attached file is valid XHTML 1.0 Transitional (according to http://validator.w3.org/), but nxml-mode marks the label and input tags as invalid. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-07-26