W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: [REX] Inserting comments?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Fri, 10 Feb 2006 09:58:27 +0100
Message-Id: <AE54067F-81F0-4D5D-8FA7-578221354703@expway.fr>
Cc: public-webapi@w3.org
To: Ian Hickson <ian@hixie.ch>

On Feb 10, 2006, at 00:16, Ian Hickson wrote:
> On Thu, 9 Feb 2006, Robin Berjon wrote:
>>> A DOMNodeInserted event can insert a comment. But I do not find  
>>> how to
>>> express it in REX.
>>> <event target='/some/where' name='DOMNodeInserted'>
>>>   <!-- I assume this comment is a comment in the REX file and will
>>>   *not* be inserted -->
>>> </event>
>> No, actually, if the target DOM supports comments, then this comment
>> will in fact be inserted into the target document. Is there any  
>> part of
>> the specification which makes you believe that it would not or that
>> could be clarify for you to be certain that comments can indeed be
>> supported in this manner?
> XML 1.x makes it pretty clear that comments shouldn't be used for  
> semantic
> purposes, IMHO.

I'm sorry but I fail to see the point you're trying to make.

Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Friday, 10 February 2006 09:14:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT