W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > July 2009

Re: xmlns in HTML5

From: Shane McCarron <shane@aptest.com>
Date: Thu, 16 Jul 2009 09:03:47 -0500
Message-ID: <4A5F3343.9030103@aptest.com>
To: Steven Pemberton <Steven.Pemberton@cwi.nl>
CC: Toby Inkster <tai@g5n.co.uk>, Manu Sporny <msporny@digitalbazaar.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>, Ian Hickson <ian@hixie.ch>


Steven Pemberton wrote:
> On Thu, 16 Jul 2009 10:50:52 +0200, Toby Inkster <tai@g5n.co.uk> wrote:
>
>> For the same reason, xmlns:foo attributes aren't allowed in HTML4
>> either.
>
> Actually, to allow for future changes, the spec says:
>
> "If a user agent encounters an attribute it does not recognize, it 
> should ignore the entire attribute specification (i.e., the attribute 
> and its value)."
> http://www.w3.org/TR/html401/appendix/notes.html#notes-invalid-docs
>
> In other words, it should act as if it weren't there. So it is 
> allowed, but no meaning is defined.
> XHTML 1.* say something similar.

As does XHTML M12N 1.0 and 1.1 - see [1] step 6.

[1] 
http://www.w3.org/TR/xhtml-modularization/conformance.html#s_conform_user_agent
>
> Steven

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Thursday, 16 July 2009 14:05:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 July 2009 14:05:13 GMT