- From: Dave J Woolley <DJW@bts.co.uk>
- Date: Thu, 4 May 2000 11:05:27 +0100
- To: "'www-amaya@w3.org'" <www-amaya@w3.org>
> -----Original Message----- > From: Ulrich Windl [SMTP:Ulrich.Windl@rz.uni-regensburg.de] > Sent: Thursday, May 04, 2000 10:25 AM > To: Irene VATTON > Cc: www-amaya@w3.org > Subject: Re: Amaya 3.1 (Win95) issues > > On 4 May 00, at 10:04, Irene VATTON wrote: > > > > > Hi Ulrich, > > > > Your form doesn't work with Amaya because according to the HTML 4.01 > > recommendation > > the mandatory attribute action is missing (see section 17.3 The FORM > element of > > http://www.w3.org/TR/html401/interact/forms.html) > > HTMLkit 1.0 (Build 288) says nothing about that for "HTML 4.01 > Transitional". Aren't you a bit too strict? > [DJW:] No. This is the relevant part of the HTML 4.01 DTD. <!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" 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 -- > Note the #REQUIRED. HTML Tidy isn't a validator, its a fixer - you cannot fix a missing action. Actually, the only semi-legitimate reason I can think of for having a missing action is to work round Netscape's insistence on a FORM element around controls that are only used by scripting, which is a violation of HTML 4.x. Personally I make the action a javascript: one that does nothing in that case.
Received on Thursday, 4 May 2000 06:10:56 UTC