|
[ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks value: msg#00097web.html-tidy.tracker
Bugs item #1272404, was opened at 2005-08-25 15:06 Message generated for change (Comment added) made by c960657 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1272404&group_id=27659 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTML/XML/XHTML Parser Group: Current - all platforms Status: Open Resolution: None Priority: 5 Submitted By: Christian Schmidt (c960657) Assigned to: Nobody/Anonymous (nobody) Summary: Warning: <form> attribute "action" lacks value Initial Comment: I have a file containing the following line: <form action="" method="get"> Tidy outputs the following: line 9 column 5 - Warning: <form> attribute "action" lacks value My document is HTML 4.01 Strict. The action attribute is specified as %URI. The specification mentions RFC 2396 as normative reference for the definition of URIs. RFC 2396, section 4.2 states: "[...] in the case of HTML's FORM element, [...] an empty URI reference represents the base URI of the current document and should be replaced by that URI when transformed into a request." In other words, the empty string is explicitly allowed as a URI reference. Therefore, I believe that Tidy shouldn't issue a warning in this case. ---------------------------------------------------------------------- >Comment By: Christian Schmidt (c960657) Date: 2005-08-26 13:32 Message: Logged In: YES user_id=32013 Perhaps I just don't understand the distinction between Info, Warning and Error. Are these described somewhere? ---------------------------------------------------------------------- Comment By: Björn Höhrmann (hoehrmann) Date: 2005-08-25 17:48 Message: Logged In: YES user_id=188003 Yes and no. There might be good reasons to generate a warning here, e.g., the user might use scripting for form submission and only include the action attribute to satisfy some validator. In this case this could be an accessibility problem and an a11y warning would be appropriate. There might also be compatibility problems if the document uses the <base> element. I don't disagree though, if anyone fixes this there should be a comment in the source to indicate that we might warn about this once we have a better reporting system that allows to indicate less confident messages. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1272404&group_id=27659 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ tidy-Bugs-1273835 ] tidy breaks on this file: 00097, SourceForge.net |
|---|---|
| Next by Date: | [ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks value: 00097, SourceForge.net |
| Previous by Thread: | [ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks valuei: 00097, SourceForge.net |
| Next by Thread: | [ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks value: 00097, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |