Regarding duplicate ids

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