Steven Pemberton wrote:
On Thu, 16 Jul 2009 10:50:52 +0200, Toby Inkster <t...@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: sh...@aptest.com



Reply via email to