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

Re: xmlns in HTML5 (was: Telecon Agenda- Thursday 1500 UTC)

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Thu, 16 Jul 2009 16:00:33 +0200
To: "Toby Inkster" <tai@g5n.co.uk>, "Manu Sporny" <msporny@digitalbazaar.com>
Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>, "Ian Hickson" <ian@hixie.ch>
Message-ID: <op.uw5yimswsmjzpq@steven-750g>
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.

Steven
Received on Thursday, 16 July 2009 14:01:50 GMT

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