XHTML question (possible Amaya bug)

Hi,

If two targets have the same id and name attributes crossed in a XHTML 1.0 Strict document:
  <p><a href="#Target1">Link</a></p>
  <p><a name="Target1" id="Target2">Target 1</a></p>
  <p><a name="Target2" id="Target1">Target 2</a></p>
which one is the target of the link?

Amaya and Internet Explorer jump to the first target (it seems they use the name attribute), but Mozilla jumps to the second one (it seems it uses the id attribute).

Is it an Amaya bug or a Mozilla bug?

Best regards,
Bartolomé Sintes (http://www.mclibre.org)

Received on Monday, 22 November 2004 18:03:36 UTC