W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1996

Simple(?) comments question...

From: Arnoud <galactus@htmlhelp.com>
Date: Wed, 18 Sep 1996 09:40:13 +0200
To: www-talk@w3.org
Message-ID: <dd6Py4uYOxXU089yn@htmlhelp.com>
-----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-----
Received on Wednesday, 18 September 1996 03:44:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:19 GMT