Re: Using RDFa in rel attribute with multiple relationships

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
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

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