Re: Test Case 0090 / XHTML+RDFa 1.1

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 UTC