W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: 3.6. The root element

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 30 Jul 2007 16:42:15 +0300
Message-Id: <CE0081CB-472F-4F8F-9167-26E9BBE75C3B@iki.fi>
Cc: "Ben Boyle" <benjamins.boyle@gmail.com>, "HTML WG" <public-html@w3.org>
To: Anne van Kesteren <annevk@opera.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT