My JSF pages (mojarra 2.0.1) generate a hidden state holder with an autocomplete="off"' property as part of the </h:form> closing tag:
<input type="hidden"
name="javax.faces.ViewState"
id="javax.faces.ViewState"
value="-1715251979060474851:6281790946545926031"
autocomplete="off" />
</form>
The autocomplete property is not valid XHTML so it does not validate under XHTML 1.0 Transitional, or any other common XHTML DTD as far as I can tell (see: [http://validator.w3.org/]).
I'd like to validate under XHTML 1.0 Transitional. Has anyone got a good fix for this?