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

Re: [RDFa] ISSUE-42: the @src attribute

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Tue, 17 Jul 2007 17:01:49 +0100
Message-ID: <640dd5060707170901l282d11d2qb73c89715dcfa83@mail.gmail.com>
To: "Ben Adida" <ben@adida.net>
Cc: public-rdf-in-xhtml-tf@w3.org

Hi Ben,

> Now, what happens if we say:
> <a about="s" rel="p" href="o" instanceof="t">
>   foo
> </a>
> I think the same thing should happen, meaning instanceof applies to the
> @href when it's present.

I agree. It seems that in general, @instanceof takes as its subject
the 'current' object, and if there isn't one, one is created (as a
bnode). This means that:

  <div instanceof="foaf:Person">

doesn't make a statement about the document, but about a bnode on the
<div>. This neatly gives you what you and others on the list wanted
before, the ability to create typed bnodes without having to do lots
of mark-up.

Working 'upwards', it also means that mark-up like this falls out quite nicely:

  <div rel="foaf:knows" instanceof="foaf:Person">

to mean that there is a relationship of 'foaf:knows' between the
nearest ancestor subject, and the bnode, which is itself of type

...all of which I think we've said before...I'm writing it down as
much for my own benefit as anyone else's. :)



  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Tuesday, 17 July 2007 16:01:55 UTC

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