W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: comment nodes

From: John Cowan <jcowan@reutershealth.com>
Date: Fri, 22 Sep 2000 16:38:41 -0400
Message-ID: <39CBC351.31813C54@reutershealth.com>
To: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>, "www-dom@w3.org" <www-dom@w3.org>
Joseph Kesselman/Watson/IBM wrote:

> Good point. But consider
>      <!-- &#45;&#45;-->
> ... I'm honestly not sure when character references get processed, so I'm
> not sure whether that comes through as written, as --, or gets caught as a
> syntax error. I would be surprised if it's the latter.

It's well-formed; the only sequences that matter in a comment are "--" (illegal)
and "-->" (terminator).  All other characters are so much junk.

-- 
There is / one art                   || John Cowan <jcowan@reutershealth.com>
no more / no less                    || http://www.reutershealth.com
to do / all things                   || http://www.ccil.org/~cowan
with art- / lessness                 \\ -- Piet Hein
Received on Friday, 22 September 2000 16:37:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT