You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/12/31 19:56:05 UTC

DO NOT REPLY [Bug 25846] New: - The HTML Form taglib produces invalid XHTML 1.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25846>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25846

The HTML Form taglib produces invalid XHTML 1.1

           Summary: The HTML Form taglib produces invalid XHTML 1.1
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: seth@ehawaii.gov


The html Form taglib (<html:form>) produces invalid XHTML 1.1.

It will produce:

<form name="createAccount" method="post" 

and the W3C Validator (http://validator.w3.org/) gives this error:

Line 782, column 11:  there is no attribute "name"


This is listed as one of the changes from XHTML 1.0 Strict:

http://www.w3.org/TR/xhtml11/changes.html#a_changes

and checking of the XHTML modularization DTD's confirms the name attribute is
missing.  Should be replaced with just the id attribute.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org