[10310] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Simple(?) comments question...

daemon@ATHENA.MIT.EDU (Arnoud "Galactus" Engelfriet)
Wed Sep 18 04:47:30 1996

From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-talk@w3.org
Date: Wed, 18 Sep 1996 09:40:13 +0200
Resent-From: www-talk@w3.org

-----BEGIN PGP SIGNED MESSAGE-----

Just had a discussion with someone who wanted to know if a "-" can be
used as the last character in a comment. I would say yes, since a
comment is terminated by TWO "-" characters. However, is the following
comment valid?

<!-- Hello--->

Should a parser consider the first of the three "-"s as the last
character of the comment's text, or consider "->" to be out-of-bounds
text or something?

Galactus

- -- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>


-----END PGP SIGNED MESSAGE-----


home help back first fref pref prev next nref lref last post