W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: innerHTML in XML

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 01 Jun 2008 13:53:25 +0200
Message-ID: <48428DB5.3090301@gmx.de>
To: public-html@w3.org

Cameron McCormack wrote:
> Cameron McCormack:
>>>>   If any of the elements in the serialization are in the null namespace,
>>>>   the default namespace in scope for those elements must be explicitly
>>>>   declared as the empty string.
>>>>    — http://dev.w3.org/html5/spec/#innerhtml1
> 
> Julian Reschke:
>> I guess the question was whether this is a requirement that exceeds  
>> normal XML serializations requirements.
>>
>> For the example, yes, obviously the xmlns="" is required.
>>
>> The question is, is it required to add the xmlns="" in cases like
>>
>> 	<foo xmlns=""><bar xmlns=""/></foo>
>>
>> ?
> 
>  From the wording above it doesn’t sound like the one on the <bar> is
> required.

Right. But is the one in <foo> required? I think so (per HTML5, although 
not per XML).

BR, Julian
Received on Sunday, 1 June 2008 11:54:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:55 UTC