W3C home > Mailing lists > Public > public-html-data-tf@w3.org > November 2011

Re: RDFa in HTML vs XHTML

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 15 Nov 2011 10:09:45 +0000
To: Jeni Tennison <jeni@jenitennison.com>
Cc: HTML Data Task Force WG <public-html-data-tf@w3.org>, Henri Sivonen <hsivonen@iki.fi>
Message-ID: <20111115100945.46e9c105@miranda.g5n.co.uk>
On Mon, 14 Nov 2011 19:29:21 +0000
Jeni Tennison <jeni@jenitennison.com> wrote:

> I think the solution is probably to add a rule that RDFa attributes
> such as @about aren't permitted on the <html> element.

Certain RDFa attributes are very useful on the root element. @vocab and
@prefix for example.

More useful would probably be to drop the magic @about from <head> and
<body>. Or perhaps, only have magic @about on them when @typeof is
found, as I believe the intention of the magic @about was to make stuff
like this work:

	<body typeof="foaf:Document">

without creating a blank node.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 15 November 2011 10:09:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 November 2011 10:09:02 GMT