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

Re: Avoid setting href as new subject when no rel/rev is present

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 15 Jan 2010 00:02:13 +0000
To: Stephane Corlosquet <scorlosquet@gmail.com>
Cc: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1263513733.18556.15.camel@ophelia2.g5n.co.uk>
On Thu, 2010-01-14 at 13:21 -0500, Stephane Corlosquet wrote:
> I just wanted to check and make sure there is not problem in using the
> empty rel hack, or whether there is a better way of working around
> this?

Yes - it's an odd case. I find it an unintuitive behaviour, though I can
imagine plenty of arguments in its favour.

Other workarounds:

1. Include an explicit @about on the <a> tag.

2. Put something useful into rel, such as sioc:has_discussion.

3. Move the @content and @property to the containing <li> element.

Is there an RDFa test suite case covering this construct?

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Friday, 15 January 2010 00:02:55 UTC

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