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

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

From: Ben Adida <ben@adida.net>
Date: Tue, 17 Jul 2007 08:12:43 -0700
Message-ID: <469CDC6B.8090206@adida.net>
To: mark.birbeck@x-port.net
CC: public-rdf-in-xhtml-tf@w3.org

Mark Birbeck wrote:
> Hi Ben,
> I'm +1 on the functionality, but I'm not keen on saying "behaves just
> like", since it might lead to confusion. I suppose if this is text
> just for the resolution and not the spec, it's not too bad. Is that
> what you're thinking?

Yes, I suspect the spec will have to be a bit more formal, indeed.

That said, I realized that, in my haste I didn't completely cover this
issue. Now that it looks like we have instanceof as the current leader
in the pool, what happens with:

<img about="s" rel="p" src="o" instanceof="t" />

I think we agreed last time (though Ralph was looking into this more
deeply), that this would result in:

s p o .
o rdf:type t .

I think that's what it should be. Now, what happens if we say:

<a about="s" rel="p" href="o" instanceof="t">

I think the same thing should happen, meaning instanceof applies to the
@href when it's present.

*But*, that's a different discussion, so let me make this issue
resolution clearer. So, PROPOSED RESOLUTION:

The @src attributes on IMG behaves as follows:
- the object of @rel on IMG is @src
- if @instanceof is present, the rdf:type applies to @src
- subject resolution is normal.

Received on Tuesday, 17 July 2007 15:12:43 UTC

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