W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2008

Re: Amaya 9.99-4 WinXP bug: [ and ] characters in name attribute of form elements

From: Bartolomé Sintes Marco <bartolomesintes@ono.com>
Date: Sat, 02 Feb 2008 07:05:55 +0100
Message-ID: <47A40843.3090602@ono.com>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:39 UTC