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 2002/12/03 13:50:10 UTC

DO NOT REPLY [Bug 15023] New: - Use attribute 'id' instead of 'name' in html:form-Tag

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=15023>.
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=15023

Use attribute 'id' instead of 'name' in html:form-Tag

           Summary: Use attribute 'id' instead of 'name' in html:form-Tag
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: blochg@fmi.uni-passau.de


The html:form-Tag creates a 'name' attribute which is used by the focus-Script. 
However in XHTML 1.0 Strict there is no such attribute defined for the 'form' 
Tag.
Use of the attribute 'id' could solve this issue. However there might be a 
possible danger because id is declared to be an ID and enforces document-scope 
uniqueness. In contrast 'name" is declared to be an NMTOKEN which doesn't 
enforce this requirement.
The use of 'id' will enhance conformance to the standard. As is, the document 
has to be declared XHTML 1.0 Transitional if the html:form-Tag is used.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>