W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

Re: Some bug report on markup-validator

From: David Håsäther <hasather@gmail.com>
Date: Tue, 23 Jan 2007 23:11:38 +0100
Message-ID: <45B6881A.70000@gmail.com>
To: Rui del-Negro <w3validator@dvd-hq.info>
CC: www-validator@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT