I'm trying to create a form compliant to XHTML 1.1 with JSF, but can't. This is my .xhtml file:
<h:form>
  <h:inputText value="foo"/>
  <h:commandButton action="search" value="Search" />
</h:form>
In the output HTML <input> tags are not enclosed in <div> or <dd> or something similar, as they should be in XHTML 1.1. Is there any legal workaround? I don't like the idea of adding these tags explicitly to .xhtml file.
 
     
    