Re: Comments in HTML (fwd)
Martijn Koster (mak@surfski.webcrawler.com)
Wed, 12 Jun 1996 09:14:56 -0700
Message-Id: <9606121614.AA09200@webcrawler.com>
To: MegaZone <megazone@livingston.com>
Cc: www-html@w3.org
Subject: Re: Comments in HTML (fwd)
In-Reply-To: Your message of "Tue, 11 Jun 1996 11:53:52 PDT."
<199606111853.LAA09597@server.livingston.com>
Date: Wed, 12 Jun 1996 09:14:56 -0700
From: Martijn Koster <mak@surfski.webcrawler.com>
In message <199606111853.LAA09597@server.livingston.com>, MegaZone writes:
> Once upon a time S.N.Brodie@ecs.soton.ac.uk shaped the electrons to say...
> > [...] browser authors accepted any > to terminate a comment
>
> IMHO - bullshit. There is no reason you have to support it.
Ehr... installed base? :-)
> NS 2.0 and up does not.
Actually, it appears the latest and greatest from Netscape supports both :-)
For example, try:
<! this is not a > comment
<!-- that was not a > commentary --->
in Navigator 3.0b4-96135 this prints:
comment
which happens to be what you want.
If you do a view source the proper comment is in italics,
and the first line isn't.
> It is *wrong* and WILL BREAK valid comments. Any browser that supports it
> is miserably broken and I will recommend to anyone using it that they
> drop it.
Doesn't break if you do the above. Remember "be liberal in what you accept"...
Easy enough lexer change... (he says just having done it in WebCrawler :-)
-- Martijn (wishing everyone collaborated on HTML parsing...)
__________
Email: m.koster@webcrawler.com
WWW: http://info.webcrawler.com/mak/mak.html