Re: Simple(?) question on obscure comments detail

Stephanos Piperoglou (spip@hol.gr)
Sat, 21 Sep 1996 20:37:45 +0300 (EET DST)


Date: Sat, 21 Sep 1996 20:37:45 +0300 (EET DST)
From: Stephanos Piperoglou <spip@hol.gr>
To: Murray Altheim <murray@spyglass.com>
cc: Arnoud Galactus Engelfriet <galactus@htmlhelp.com>, www-html@w3.org
Subject: Re: Simple(?) question on obscure comments detail
In-Reply-To: <v02110104ae68aecd73fd@[140.186.34.50]>
Message-ID: <Pine.LNX.3.95.960921203533.406C-100000@trillian.hol.gr>

On Fri, 20 Sep 1996, Murray Altheim wrote:

> The parser is scanning forward for the next instance of COM, not for the
> next instance of "-->", which has no singular significance in a comment
> declaration; it is simply the concatenation of a COM and MDC (">"); that's
> why parsers that look for "-->" are making an error. It is perfectly
> SGML-legal to write a comment declaration such as:
> 
>      <!-- hello --
>      >

Let me see if I (who knows nothing of SGML) can get this straight:

<! > is an HTML element that stands for an SGML declaration

-- some text -- is an SGML comment

Hence any whitespace is allowed between <! and the comment, as is between
the comment and >, according to what I know of HTML.

Is this correct?

--
 If my opinions were my employers', they'd be pretty wierd opinions.
         Stephanos Piperoglou <*> http://users.hol.gr/~spip/ 
"I want peace on earth and good will toward man"
"We're the United States Government, we don't do that sort of thing!"
                              - Whistler and Abbot from `Sneakers'

                                            ...oof porothika! (tm)