- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Fri, 9 May 2008 08:57:36 +0100
- To: "Ben Adida" <ben@adida.net>
- Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>
Hi Ben, I'm still at XTech so I don't have time to check this completely...but just a few points. This is the kind of issue I was considering when I used the wording "act is if it wasn't there" in relation to @rel values. The scenario I was trying to protect against was this one: <div about="" rel="dc:creator"> <img rel="myfoobarrel foaf:img" href="ben.jpg" /> </div> My wording was intended to allow 'myfoobarrel' to be silently ignored, in such a way that 'foaf:img' was still processed, i.e., it acts like this: <div about="" rel="dc:creator"> <img rel="foaf:img" href="ben.jpg" /> </div> Your example is much the same, and should have the same effect as this: <div about="" rel="dc:creator"> <img rel="" href="ben.jpg" /> </div> I.e., the second statements have 'no effect'. Now...since I was asked to change the wording to be 'stricter' I'm not sure if I have lost the effect I was trying to achieve. I'll check later, but if anyone else wants to take a look before I get a chance to, I thought it worth providing the background info. Regards, Mark 2008/5/9 Ben Adida <ben@adida.net>: > > > Hi all, > > In a discussion today, Shane and I uncovered an edge case for which we have > no test case. I think the spec says something about this edge case, and that > the outcome is wrong. Shane thinks the spec is ambiguous. So, in either > case, we need to clarify the situation. > > Here's the markup that we believe is ambiguous: > > <div about="" rel="dc:creator"> > <img rel="myfoobarrel" href="ben.jpg" /> > </div> > > The question here is: does <ben.jpg> complete dc:creator, because > myfoobarrel is neither a CURIE nor a link type? In other words, do we get > the following triple: > > <> dc:creator <ben.jpg> . > > ? > > 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. > > Thoughts? > > -Ben > > PS: adding this as an issue as soon as the email shows up in the archive. > > -- Mark Birbeck mark.birbeck@x-port.net | +44 (0) 20 7689 9232 http://www.x-port.net | http://internet-apps.blogspot.com x-port.net Ltd. is registered in England and Wales, number 03730711 The registered office is at: 2nd Floor Titchfield House 69-85 Tabernacle Street London EC2A 4RR
Received on Friday, 9 May 2008 07:58:18 UTC