logo       

[ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks value: msg#00092

web.html-tidy.tracker

Subject: [ tidy-Bugs-1272404 ] Warning: <form> attribute "action" lacks value

Bugs item #1272404, was opened at 2005-08-25 15:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.

----------------------------------------------------------------------

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>
Google Custom Search

News | FAQ | advertise