Re: Some bug report on markup-validator

On 2007-01-23 22:47, Rui del-Negro wrote:

> Making such a common character sequence (--), which is often used as
> an ASCII alternative to a "long dash", illegal inside comments 
> definitely doesn't help.

The reason for this is that in SGML, a comment _declaration_ can contain 
  more than one comment (actually, zero or more).

Example:

   <!-- inside the first comment  --
     -- inside the second comment -->

-- 
David Håsäther

Received on Tuesday, 23 January 2007 22:11:52 UTC