Tapestry 5
  1. Tapestry 5
  2. TAP5-1282

Form component generates invalid xHtml: there should not be the "name" attribute - Applied to 5.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.2.0, 5.1.0.8
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Form generates invalid xhtml 1.0 strict - it
      puts "name" attribute to the "form" tag and that is invalid.

      ' <form name="loginForm" id="loginForm" method="post" ...'

      P.S. these are the first 2 lines of my Layout component:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">

        Issue Links

          Activity

          Hide
          Christophe Cordenier added a comment -

          backport done on 5.1.0.8

          Show
          Christophe Cordenier added a comment - backport done on 5.1.0.8

            People

            • Assignee:
              Christophe Cordenier
              Reporter:
              Christophe Cordenier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development