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

Re: bug: <FORM name= ...> in HTML 4.01 Transitional

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 16 Aug 2001 21:51:50 +0200
To: Serguei Trouchelle <stro@isd.dp.ua>
Cc: www-validator@w3.org
Message-ID: <119ont83fdr6clsdu9pccdd1bfv77n8dvp@4ax.com>
* Serguei Trouchelle wrote:
>Validator.w3.org says that "name" attribute doesn't exist in <FORM> in
>HTML 4.01 Transitional. DTD and HTML specification (17.3) says that
>"name" is implied.
>
><!ELEMENT FORM - - (%flow;)* -(FORM)   -- interactive form -->
><!ATTLIST FORM
>  %attrs;                              -- %coreattrs, %i18n, %events --
>  action      %URI;          #REQUIRED -- server-side form handler --
>  method      (GET|POST)     GET       -- HTTP method used to submit the form--
>  enctype     %ContentType;  "application/x-www-form-urlencoded"
>  accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
>  name        CDATA          #IMPLIED  -- name of form for scripting --
>  onsubmit    %Script;       #IMPLIED  -- the form was submitted --
>  onreset     %Script;       #IMPLIED  -- the form was reset --
>  target      %FrameTarget;  #IMPLIED  -- render in this frame --
>  accept-charset %Charsets;  #IMPLIED  -- list of supported charsets --
>  >
>
>
>Example is http://naive1.isd.dp.ua/test/form.html

You have declared HTML 4.0 on this page, not 4.01, i.e.

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

in place of

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Thursday, 16 August 2001 15:52:27 GMT

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