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

probable erratum - RDFA-SYNTAX 3.10. A description of RDFa in RDF terms

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 23 Sep 2009 16:28:53 +0100
To: "public-rdf-in-xhtml-tf.w3.org list" <public-rdf-in-xhtml-tf@w3.org>
Message-Id: <1253719733.24136.30.camel@ophelia2.g5n.co.uk>
The final paragraph of this section reads:

> a subject [URI reference] is generally indicated using @about {...}
> Objects which are [URI reference]s are represented using @href,
> @resource or @src

But @src is treated more like @about than it is like @href/@resource.

Of course any of these four can in fact act as either a subject or an
object - perhaps that point needs to be made as well. For example, here
@about acts as the object and @resource sets the subject:

	<div resource="[:Foo]">
	  <p rel=":example">
	    <span about="[:Bar]">bar</span>

creating the triple:

	@prefix : <http://www.w3.org/1999/xhtml/vocab#> .
	:Foo :example :Bar .

Toby A Inkster
Received on Wednesday, 23 September 2009 15:29:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:33 UTC