Re[2]: Comments in HTML (fwd)

kstarsin@smtpgwy.isinet.com
Tue, 11 Jun 1996 10:29:13 -0400


From: kstarsin@smtpgwy.isinet.com
Date: Tue, 11 Jun 1996 10:29:13 -0400
Message-Id: <9605118345.AA834510459@smtpgwy.isinet.com>
To: www-html@w3.org
Subject: Re[2]: Comments in HTML (fwd)

>>The problem is that browsers have to terminate comments at the first '>' 
>>beacuse, IIRC, a very early draft of the HTML 2 documentation contained a 
>>misprint and browser authors accepted any > to terminate a comment . . .

>SGML has always had '-->' as the comment terminator. Browser authors 
>should know enough about what they're doing to know an error as obvious 
>as that when they see it.

Actually, '-->' is _not_ the SGML comment terminator.  Inside '<! ... >',
'--' brackets a comment on either side; there can be multiple comments
(along with other SGML) inside '<! ... >'.

    Peace,
*-- Kurt Starsinic (kstarsinic@isinet.com) -------- Programmer/Analyst II --*
|   Electronic Product Systems       Institute for Scientific Information   |
|   (215) 386-0100 x1108 office                        (215) 386-6362 fax   |
|  "Whatever befalls the Earth befalls the sons of the Earth.  Man did not  |
|   weave the web of life; he is merely a strand in it.  Whatever he does   |
|   to the Web, he does to himself." - Chief Seattle                        |
*------------------------   http://www.isinet.com   ------------------------*