[Bug 5331] W3C standard radio button

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5331

           Summary: W3C standard radio button
           Product: AppC Checker
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dave.null@w3.org
        ReportedBy: cpthk@hotmail.com
         QAContact: www-validator-cvs@w3.org


Hi, I am not so sure that I posted at the right product. If not, please change
for me.

I am trying to report a bug in the W3c recommendation.

Here is an example code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>Prospective Student Database</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<form action="insert.php" method="post">
<input type="radio" name="gender" value="1">Male
</form>
</body>
</html>
//END OF CODE

If I put in this code into the HTML
validator(http://validator.w3.org/#validate_by_input). If will give me some
errors that at the radio button I am suppose to change to '<input type="radio"
name="gender" value="1"/>Male'. Notice the place I changed is the ending tag
'>' to '/>'. But I checked the W3C recommendation document, even the document
showed  a wrong example. You may check here: (
http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html ). In the
chapter 17.1, it has radio button ending with '>' instead of '/>'. Please note
that 17.1 is just an example that I am trying to show you, but actually the
whole document has many same problems inside. Like 17.4.2 , 17.9.1 , ...

Received on Sunday, 30 December 2007 00:04:45 UTC