Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1904

The HTML Form taglib produces invalid XHTML 1.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.1.0
    • None
    • Tag Libraries
    • None
    • Operating System: other
      Platform: Other
    • 25846

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sethladd Seth Ladd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: