W3C home > Mailing lists > Public > www-validator@w3.org > August 2002

name/id namespace

From: Daniel Glazman <glazman@netscape.com>
Date: Mon, 19 Aug 2002 16:28:28 +0200
Message-ID: <3D61008C.4070307@netscape.com>
To: www-validator@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT