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

Test Case 0090 / XHTML+RDFa 1.1

From: Alex Milowski <alex@milowski.com>
Date: Fri, 27 Apr 2012 14:44:46 -0700
Message-ID: <CABp3FNK-cn2mmYaaVD-+anFSRV5nt8kLO4E7dTMKkLd9t7NRVA@mail.gmail.com>
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
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...

...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 21:45:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 21:45:16 GMT