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

Re: Test Case 0090 / XHTML+RDFa 1.1

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Fri, 27 Apr 2012 19:55:16 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <83C55BC0-7F26-44A5-A591-F4FF9FCC03C3@greggkellogg.net>
On Apr 27, 2012, at 2:44 PM, Alex Milowski wrote:

> I've been looking at the algorithm with respect to Test Case 0090:
> 
> <img    src="http://example.org/example.png"
>                                rel="license"
>                        href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
>                                alt="example image" />
> 
> As both @src and @href are resource attributes, I do not think it will
> generate the triple:
> 
> <http://example.org/example.png>
> <http://www.w3.org/1999/xhtml/vocab#license>
> <http://creativecommons.org/licenses/by-nc-sa/2.0/>
> 
> The subject is established in step 6.  As there is no @about, the
> subject will be set to parent object (the document URI) and the
> current object resource is the resolved value of @href.  That
> generates the triple:
> 
> <> <http://www.w3.org/1999/xhtml/vocab#license>
> <http://creativecommons.org/licenses/by-nc-sa/2.0/>
> 
> Unless I'm missing something...

This is an RDFa 1.0 test. If you're running tests through your own runner, you need to look at the rdfatest:rdfaVersion property and only run tests that include "rdfa1.1".

Gregg

> ...and that's what I get from my implementation.
> 
> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics
> 
Received on Friday, 27 April 2012 23:55:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 23:55:54 GMT