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

Re: an issue we need to address - bad @rel in the middle of a chain.

From: Shane McCarron <shane@aptest.com>
Date: Thu, 08 May 2008 21:53:47 -0500
Message-ID: <4823BCBB.1050108@aptest.com>
To: Ben Adida <ben@adida.net>
CC: RDFa <public-rdf-in-xhtml-tf@w3.org>



Ben Adida wrote:
> My interpretation of the spec is that rel="myfoobarrel" is completely 
> ignored, meaning that the triple completion behaves as if there was no 
> @rel on the img, which means that <ben.jpg> indeed completes 
> dc:creator. And I think that's a bad outcome.
>
> Instead, I think the *presence* of @rel, no matter what it contains, 
> should cause completion of the incomplete triples. Then, once the 
> triples are completed, the *contents* of the @rel are considered for 
> new triple creation.
>
> Consider what would happen if you had a different @rel:
>
> <div about="" rel="dc:creator">
>    <img rel="foaf:img" href="ben.jpg" />
> </div>
>
> which would then yield:
>
>   <> dc:creator _:bnode1 .
>   _:bnode1 foaf:img <ben.jpg> .
>
> Changing the @rel value on img should certainly kill the second 
> triple, but I don't see why it should change the first triple at all. 
I agree with this conclusion. 

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Friday, 9 May 2008 02:54:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 May 2008 02:54:40 GMT