W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

validator bug?

From: <pdf@bizfon.com>
Date: Mon, 14 Feb 2000 11:09:18 -0500
To: www-validator@w3.org
Message-ID: <85256885.0058BE8E.00@Enterprise>


I tried validating a page as HTML 4.0 Transitional and the validator is trying
to tell me that there is no attribute "NAME" for an image!  But looking in the
attribute list for images in HTML4, I clearly see a "NAME".  Is this a bug in
the validator?

<from validator>
Line 139, column 49:
  ... ="community_off.gif" border=0 name="community" alt="Communit ...
                                         ^
Error: there is no attribute "NAME"


<from http://www.w3.org/TR/html401/struct/objects.html#edef-IMG>
<!ATTLIST IMG
  %attrs;                              -- %coreattrs, %i18n, %events --
  src         %URI;          #REQUIRED -- URI of image to embed --
  alt         %Text;         #REQUIRED -- short description --
  longdesc    %URI;          #IMPLIED  -- link to long description
                                          (complements alt) --
  name        CDATA          #IMPLIED  -- name of image for scripting --
  height      %Length;       #IMPLIED  -- override height --
  width       %Length;       #IMPLIED  -- override width --
  usemap      %URI;          #IMPLIED  -- use client-side image map --
  ismap       (ismap)        #IMPLIED  -- use server-side image map --
  >
Received on Monday, 14 February 2000 11:06:19 GMT

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