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

Regarding duplicate ids

From: John Russell <ve3ll@rac.ca>
Date: Thu, 10 Mar 2005 10:59:08 -0500
To: www-amaya@w3.org
Message-ID: <4230287C.30974.6E6959@localhost>

The following short test shows that there is no name/id conflict 
except if it a form control element...  i need pointers to the
recommendation to understand if real error  or Amaya 

<?xml version="1.0"?>
<!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">
<head><title>Duplicate ID</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head><body>
<p id="id1">This is a paragraph with an id</p>
<p name="id1">This second paragraph has an <em>identical</em> name.</p>
<input name="id2"></input>
<p id="id2">This second paragraph has an <em>identical</em> name.</p>
</body></html>


--
john russell ve3ll@rac.ca [those are L's as in LLAMA]
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher
Received on Thursday, 10 March 2005 15:59:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC