WW-1888, several tags, including the form tag, generate invalid xhtml by including the name attribute. One of the comments on the issue says it would cause problems if it was removed outright, but can you provide an additional tag attribute or some way to configure the tag to not include the name attribute in the rendered html?
I'm basically hacking around it now, if I do something like:
<s:form id="form1" action="/myNamespace/myAction.action" method="post">
it won't render the invalid name attribute on the form but I do end up with an additional warning message in the log which is considerably less than desirable.
20003 [http-8080-1] WARN org.apache.struts2.components.ServletUrlRenderer - No configuration found for the specified action: '/myNamespace/myAction.action in namespace: '/myNamespace'. Form action defaulting to 'action' attribute's literal value.