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

From: Bjoern Hoehrmann (derhoermi@gmx.net)
Date: Thu, Aug 16 2001

  • Next message: Bjoern Hoehrmann: "Re: http://validator.w3.org/"

    From: Bjoern Hoehrmann <derhoermi@gmx.net>
    To: Serguei Trouchelle <stro@isd.dp.ua>
    Cc: www-validator@w3.org
    Date: Thu, 16 Aug 2001 21:51:50 +0200
    Message-ID: <119ont83fdr6clsdu9pccdd1bfv77n8dvp@4ax.com>
    Subject: Re: bug: <FORM name= ...> in HTML 4.01 Transitional
    
    * 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/