DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32016>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32016 <html:form> tag renders incorrect HTML 4.01 strict when using token Summary: <html:form> tag renders incorrect HTML 4.01 strict when using token Product: Struts Version: 1.2.4 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When you are using the <html:form> tag with the transaction token, the tag renders the following html: <form name="myFormBean" method="post" action="myAction.do"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="d8fb5d4dbc6d379f9dc65d25d55d337e"> <!-- some other stuff --> </form> When you validate such a html code against the strict doctype as in <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> you will get an error: Error: element INPUT not allowed here; possible cause is an inline element containing a block-level element A possible solution could be to add another attribute for the form tag like "strict" with values true|false which would trigger the generation of a dummy div-block just like <form ...><div><input type="hidden"...>...</div></form> This html would validate against the strict doctype. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]