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

* 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 UTC