- From: Bartolomé Sintes Marco <bartolomesintes@ono.com>
- Date: Sat, 02 Feb 2008 07:05:55 +0100
- To: www-amaya@w3.org, Irene Vatton <Irene.Vatton@inrialpes.fr>
Hi Irène,
Irene Vatton escribió:
> Within XHTML documents, the name attribute value must be duplicated
into the
> id attribute. So the following restriction is applied:
>
The W3C validator does not follow this rule (name attribute must be
duplicated into id attribute). The following source code is checked as
valid XHTML 1.0 Strict:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
<title>test</title>
<meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" />
</head>
<body>
<p>Text: <input type="text" name="text[1]" /></p>
</body>
</html>
So, is it a bug of the W3C Validator?
Best regards,
Barto
Received on Saturday, 2 February 2008 06:05:59 UTC