Re: Possible Conservative Proposal : no prefixes, but allow xmlns on a root element

Philip Taylor, Mon, 22 Mar 2010 18:58:35 +0000:
> Ennals, Robert wrote:
>> [...]
>> *         If the browser encounters an unknown element with a default
>> namespace declaration, then it should apply that namespace to all
>> descendent nodes.
> This looks like it will break content. E.g.:

>         <playlist version="1" xmlns="">
>         <trackList>

> If the <playlist xmlns> causes the descendants to have the 
> namespace instead of the HTML namespace, then 
> they will no longer be rendered correctly as HTML links and images.

That <playlist> element on that page doesn't have an end tag. Perhaps 
the extension specification should require that it has - i.e. that it 
isn't interpreted as a namespaced section unless it is well formed XML. 
(Of course, such a rule only solves this particular case.) 
leif halvard silli

Received on Monday, 22 March 2010 19:54:51 UTC