W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Robot Having a problem with Non-HTML-tag <!--- ...---->

From: Markku Savela <msa@anise.tte.vtt.fi>
Date: Mon, 23 Aug 1999 10:35:58 +0300 (EET DST)
Message-Id: <199908230735.KAA18099@anise.tte.vtt.fi>
To: sam@topic.com.au
CC: linn@informatik.fh-wiesbaden.de, www-lib@w3.org

> This is a bug, and is fixed in CVS. The '--->' didn't end a comment unless it
> has exactly one less than a multiple of three dashes (2, 5, 8, etc).

The comment should end with "--", if there is  "----", the second "--"
starts a new comment.., thus for example, all of the following is

	<! -- some text ----> comment just continues -- >

A totally different thing is that in the "real world" browser writers
and html authors never really cared what the real comment syntax was,
and doing comment parsing right (as defined by SGML) probably breaks
many pages.

Markku Savela (msa@hemuli.tte.vtt.fi), Technical Research Centre of Finland
Multimedia Systems, P.O.Box 1203,FIN-02044 VTT,http://www.vtt.fi/tte/staff/msa/
Received on Monday, 23 August 1999 03:36:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC