🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.net.web.authoring
Article #64

Re: Problem with Netscape 4.7

#64
From: Alan J. Flavell
Date: Sun, 22 Apr 2001 22:30
50 lines
3967 bytes
On Sun, 22 Apr 2001, Dr John Stockton wrote:

> >Your <form> with no action also upsets a genuine HTML validator.
> >As well as the #rrggbb value which is lacking quotes.  But you could
> >easily have determined that for yourself.
>
> Given that my <form> are needed (in AIUI at least one browser), and that
> no action is actually required, what do you suggest for an empty action?

When you say "no action is actually required" I presume this means
"the form isn't supposed to work when javascript is disabled".
Speaking in general terms I'd have to counsel against that approach,
but it's your web page after all.  I came in this thread late, and
only in order to comment on the HTML validation details.  If you've
decided this is what you want, then you'll presumably disregard the
validation error;  but browsers typically behave as if the default
action URL were the current URL, so you could conceivably insert that
to pacify the validator (I mean it wouldn't make the form any more or
less useful than it was before).  Some people just insert ACTION="#"

> I use TIDY, from W3, as a local validator;

You're probably going to find this more pedantic than you wanted, but
let's try to distinguish between a "validator" (a term which in an
SGML context has a very precise meaning), and other kinds of checker.
There's a longer version of this answer at
http://ppewww.ph.gla.ac.uk/~flavell/www/validate.html

I see that it's in need of some updating - but on the substantive
issue we're dealing with here, I stand by what it says.

> it did not complain about unquoted #00FFFF,

which proves that it could not be a validator.  There is no official
version of HTML in which that character string would not need quotes
around it when it appears as an attribute value in HTML.[1]

That's no criticism of TIDY: it makes no claim to be a validator;
it's a useful tool in its own terms.

The question of whether a particular syntax is "valid" (n the SGML
sense) in a particular version of HTML is a purely factual issue, with
a precise yes/no answer that a validator can unambiguously report to
you.  The question of whether that validation report matters to you is
quite a different question.  It's best to keep the two issues apart.


[1]Validators of course can't properly parse an HTML document that's
meant to be partly generated at run-time from Javascript, so there are
bound to be additional anomalies if you're doing that.
Technical Details
Message-ID: <Pine.LNX.4.30.0104230011420.29852-100000@lxplus003.cern.ch>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!EU.net!cern.ch!lxplus003.cern.ch!flavell
References: <hrSE2mAyYy06EwWf@merlyn.demon.co.uk> <3AD36BCE.C60325B@mac.com> <QXAIZiD$Ye16Ewb3@merlyn.demon.co.uk> <Dx5sAQBsnI46Ewyb@merlyn.demon.co.uk> <VAggSSAU3N46EwjQ@atomor.demon.co.uk> <ZZWq67CQHg46EwyH@merlyn.demon.co.uk> <Pine.LNX.4.30.0104220047550.29595-100000@lxplus003.cern.ch> <d4Q7SOELuw46EwQE@merlyn.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f76f2,6e73a4219a0ea38b
X-Google-Attributes: gidf76f2,public
X-Google-Thread: f5cde,6e73a4219a0ea38b
X-Google-Attributes: gidf5cde,public
X-Google-ArrivalTime: 2001-04-22 15:42:27 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!EU.net!cern.ch!lxplus003.cern.ch!flavell
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Newsgroups: uk.net.web.authoring,demon.homepages.authoring
Subject: Re: Problem with Netscape 4.7
Date: Mon, 23 Apr 2001 00:30:23 +0200
Organization: Knights of the Round Tuit
Lines: 51
Message-ID: <Pine.LNX.4.30.0104230011420.29852-100000@lxplus003.cern.ch>
References: <hrSE2mAyYy06EwWf@merlyn.demon.co.uk> <3AD36BCE.C60325B@mac.com> <QXAIZiD$Ye16Ewb3@merlyn.demon.co.uk> <Dx5sAQBsnI46Ewyb@merlyn.demon.co.uk> <VAggSSAU3N46EwjQ@atomor.demon.co.uk> <ZZWq67CQHg46EwyH@merlyn.demon.co.uk> <Pine.LNX.4.30.0104220047550.29595-100000@lxplus003.cern.ch> <d4Q7SOELuw46EwQE@merlyn.demon.co.uk>
NNTP-Posting-Host: lxplus003.cern.ch
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: sunnews.cern.ch 987978625 13169 (None) 137.138.161.124
X-Complaints-To: news@sunnews.cern.ch
X-Sender:  <flavell@lxplus003.cern.ch>
In-Reply-To: <d4Q7SOELuw46EwQE@merlyn.demon.co.uk>
X-Disclaimer: speaking for myself only - and not for CERN
Comments: Think of jeopardy full-quoting as a denial-of-service attack on many thousands of news servers