W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: nested SGML comments

From: Rick Jelliffe <ricko@gate.sinica.edu.tw>
Date: Mon, 20 Nov 2000 15:32:44 +0800 (CST)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
cc: Html-Tidy <html-tidy@w3.org>
Message-ID: <Pine.GSO.4.21.0011201530550.25649-100000@gate>
On Fri, 17 Nov 2000, Bjoern Hoehrmann wrote:

> Hi,
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <title></title>
> <p><!-- <!-- --> </p> <div> --></p>
> 
> validates (so i think SGML allows nesting of comments)

In SGML, this should be a markup declaration s ( <!  to  >) containing two
comments  -- <!--  and --> </p> <div> --

Rick Jelliffe
Received on Monday, 20 November 2000 02:32:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT