W3C home > Mailing lists > Public > www-html@w3.org > April 2002

Re: Double hyphens ('--') in comments invalid

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 29 Apr 2002 02:46:59 +0200
To: <jimbofc@yahoo.com>
Cc: <www-html@w3.org>
Message-ID: <5t5pcucs7pdgqv04m6thoc1g6gimtgc70n@4ax.com>
* Jimmy Cerra wrote:
>Ah, thank you!
>I did some more research; the correct example is below (right?):
>
>] <!--comment 1--  --comment 2--  --comment 3-- >
>
>Here are the rules (as I understand them):
>1. A comment block always starts with '<!'.
>
>2. Individual comment begins and end with '--'.
>
>3. There must not be any white space between the first comment and '<!'
>   ***Hence, that's why the beginning is always '<!--'.***
>
>4. The end of the comment block is denoted by a '>' after the last comment.
>   *** Unlike the block's beginning, the end can be separated by white space.***

This is what e.g. http://www.w3.org/MarkUp/SGML/productions.html#prod91
says, yes.

>P.S.  Should this be in news:comp.infosystems.www.authoring.html or
>      an SGML/XML group???

Both, ciwah and comp.text.sgml should be fine, XML groups are not
appropriate, since this is not an XML issue.

regards.
Received on Sunday, 28 April 2002 20:47:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:51 GMT