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

Re: comment nodes

From: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>
Date: Fri, 22 Sep 2000 17:18:48 -0400
To: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <OFC7DE0CC2.8BCAAC8F-ON85256962.0074B3DC@pok.ibm.com>

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

That's about what I expected. The problem is that the DOM has committed to
showing people their "junk",  so we have to decide whether the content of
that comment should be reported as " -- " or " &#45;&#45; "

Which we should pick depends on when numeric character reference processing
occurs versus other parts of XML syntax processing... and I'm still a bit
fuzzy on that detail.

______________________________________
Joe Kesselman  / IBM Research
Received on Friday, 22 September 2000 17:18:52 GMT

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