Re: 3.6. The root element

On Jul 30, 2007, at 15:53, Anne van Kesteren wrote:

>> Not sure this note is even needed, maybe it
>> should say: In XML serialisations all elements must be declared in  
>> the
>> "http://www.w3.org/2000/xmlns/" namespace.
>
> No, they should be declared in the http://www.w3.org/1999/xhtml  
> namespace.

More to the point, if an XML element is not in the http://www.w3.org/ 
1999/xhtml namespace, it isn't an (X)HTML element (even if it has a  
local name that is also used in HTML) and what to do with the element  
is out of the scope of the HTML 5 spec. It would be inappropriate for  
HTML 5 to ban elements form other namespaces in the XML serialization.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Monday, 30 July 2007 13:42:38 UTC