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 17:30:07 -0400
Message-ID: <39CBCF5F.E94EDA55@reutershealth.com>
To: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>, "www-dom@w3.org" <www-dom@w3.org>
Joseph Kesselman/Watson/IBM wrote:

> 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; "

Questionless, the latter is correct.  Numeric character references are
interpreted only in content and in attribute values. Everywhere else, they're
either illegal (names, mostly) or uninterpreted.
 
> 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.

Not when but where.

-- 
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 17:29:18 GMT

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