On Wed, 2010-03-10 at 22:50 +0100, Danny Ayers wrote: > On 10 March 2010 18:19, Paul Houle <[email protected]> wrote: > > > <head xmlns="http://www.w3.org/1999/xhtml" > xmlns:dcterms="http://purl.org/dc/terms/"> > > <meta rel="dcterms:creator" content="Ataru Morobishi"> > > </head> > > ... > > > This does bend the XHTML/RDFa standard and also HTML a little (those > namespace declarations aren't technically valid) > > Sorry, but what's not valid about that?
In XHTML 1.x, @rel is not an allowed attribute for <meta>, and @xmlns:dcterms is not an allowed attribute for <head> (though the W3C validator glosses over the latter invalidity). Also the <meta> element isn't closed. In HTML 4.x, the two attributes above are still disallowed, as is @xmlns on <head>. -- Toby A Inkster <mailto:[email protected]> <http://tobyinkster.co.uk>
