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

Re: 3.6. The root element

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 30 Jul 2007 14:53:53 +0200
To: "Ben Boyle" <benjamins.boyle@gmail.com>, "HTML WG" <public-html@w3.org>
Message-ID: <op.tv93f3fb64w2qv@annevk-t60.oslo.opera.com>

On Mon, 30 Jul 2007 14:44:33 +0200, Ben Boyle <benjamins.boyle@gmail.com>  
wrote:
> http://dev.w3.org/html5/spec/Overview.html#the-root
>
> This seems fine to me.
>
> Unsure about the second note: doesn't xmlns="" put an element into the
> "null" namespace in XML?

It is about the namespace the xmlns _attribute_ ends up in. Not the  
element on which it is declared.


> 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.


> May be worth making a note that inherited attributes (particularly
> @lang and @dir) can (should?) be declared on the root element.

Requiring that just leads to WYSIWYG editors putting them in some  
boilerplate making lang= even less useful than it is now. (This is already  
happening :-(.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 30 July 2007 12:53:58 UTC

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