[ https://issues.apache.org/jira/browse/TAP5-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789076#action_12789076 ]
Howard M. Lewis Ship commented on TAP5-796: ------------------------------------------- Removing this is not problem; you only name a form (in HTML) to reference it in a script, and of course, the right way to do that is via its id, not its name. > Form component generates invalid xHtml: there should not be the "name" > attribute > -------------------------------------------------------------------------------- > > Key: TAP5-796 > URL: https://issues.apache.org/jira/browse/TAP5-796 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.1.0.5 > Reporter: Sergey Didenko > Assignee: Howard M. Lewis Ship > Priority: Minor > > 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"> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.