W3C home > Mailing lists > Public > public-rdfa@w3.org > April 2009

Re: Using RDFa in rel attribute with multiple relationships

From: Toby A Inkster <tai@g5n.co.uk>
Date: Wed, 15 Apr 2009 20:50:10 +0100
Message-Id: <A9BE1C6B-8983-4CD4-892A-1C4613216EC2@g5n.co.uk>
Cc: public-rdfa@w3.org
To: Rich Schumacher <rich@digg.com>
On 15 Apr 2009, at 19:01, Rich Schumacher wrote:

> I was wondering if there were any implications with using RDFa in a  
> rel attribute along with other relationships.  For instance, are  
> there any problems with the markup below?
> <a href="http://example.com" rel="dc:source blah">Example</a>

No, that's perfectly OK.

> Would the fact that "blah" is not a valid rel value cause any  
> errors with RDFa parsing?

RDFa parsers are supposed to ignore tokens that they don't recognise  
in rel, rev, property, datatype and typeof.

> I only ask this because when I run the Get N3 RDFa bookmarklet it  
> extracts the following:
> <http://purl.org/dc/elements/1.1/source blah> <http://example.com> ;

That would be a bug then.

> Whereas using a valid rel attribute would result in the following:
> <http://purl.org/dc/elements/1.1/source xhtml:alternate> <http:// 
> exmaple.com/alternate> ;

That doesn't look right either.

Toby A Inkster
Received on Wednesday, 15 April 2009 19:50:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:03 UTC