W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > May 2012

Re: Test 0292 RDFa1.1 only?

From: Toby Inkster <tai@g5n.co.uk>
Date: Mon, 14 May 2012 09:07:16 +0100
To: Niklas Lindström <lindstream@gmail.com>
Cc: Gregg Kellogg <gregg@greggkellogg.net>, W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <20120514090716.68c56d63@miranda.g5n.co.uk>
On Sun, 13 May 2012 12:47:46 +0200
Niklas Lindström <lindstream@gmail.com> wrote:

> Specifically this means that in 1.0, even if the value is given in a
> @content, the nested content isn't parsed for RDFa, right?

When a value is given in @content, nested content is always parsed.
This allows for things like:

	<h1 about="#i" property="foaf:name" content="Toby Inkster">
	  <span property="foaf:givenName">Toby</span>
	  <span property="foaf:familyName">Inkster</span>

(Setting datatype="" instead of content="" has the same effect, but
then you have to deal with whitespace preservation.)

Toby A Inkster
Received on Monday, 14 May 2012 08:05:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC