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

Rethinking @src in the context of chaining rules

From: Ben Adida <ben@adida.net>
Date: Wed, 19 Dec 2007 18:33:05 -0800
Message-ID: <4769D461.1070500@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

As per my action item from last week, here are some thoughts on @src
given the new chaining rules.

PROPOSAL: @src defines a subject, not an object. @about overrides @src
in the same way that @resource overrides @href.


0) Given that an image is inline, it would be quite odd not to be able
to declare an @instanceof on that image using simply:

<img src="foo.jpg" instanceof="foaf:Image" />

1) Having three different ways to specify an object, @resource, @href,
and @src is probably a sign of bad design.

2) Declaring a foaf:img is trivial with the new chaining rules, even
when @src is the subject:

<div about="#me" rel="foaf:img">
 <img src="foo.jpg" instanceof="foaf:Image" />

3) Using @about to override @src allows for just the kinds of situations
where the rendered does not quite match the semantic: e.g. you used a
thumbnail picture but you want to declare a semantic relationship with
the full-size image.

4) Ivan is happy :)

Okay, I could come up with more, but I'll just say that, given the clean
design of Mark's chaining rules, the @src-as-subject proposal just makes
sense in my mind.

Received on Thursday, 20 December 2007 02:33:34 UTC

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