- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Mon, 07 Apr 2003 04:05:29 +0200
- To: www-archive@w3.org
Hi, Comments start at least with <!, special cases for <!DOCTYPE, <![..., etc. if ( there is an opening "--" ) /* <!-- */ if ( finds following "-->" ) /* <!-->>>--> */ next "-->" closes comment else next ">" closes comment /* <!--> */ else /* <!foo>, <!>, <!-foo-->, ... */ next ">" closes comment Improperly formed comments are not exposed through DOM.
Received on Sunday, 6 April 2003 22:05:58 UTC