name/id namespace

Hi there,

Section 12.2 of HTML 4.01 spec explicitely says :

    name = cdata [p.50] [CS] [p.49]
      This attribute names the current anchor so that it may be the
      destination of another link. The value of this attribute must be a
      unique anchor name. The scope of this name is the current document.
      Note that this attribute shares the same name space as the id
      attribute.

Please note the "must". But Validator.w3.org does not detect when two
named anchors have same name in the same document. I did not test the
case when a name attribute and an ID have the same value.

IMHO, W3C's validator should test this unicity in the name/id namespace.

</Daniel>

Received on Monday, 19 August 2002 10:28:23 UTC