- From: Gregg Kellogg <gregg@greggkellogg.net>
- Date: Thu, 31 May 2012 16:09:59 -0400
- To: Shane McCarron <shane@aptest.com>
- CC: RDFa WG <public-rdfa-wg@w3.org>
I've updated my processor to support the Role Attribute, but It's failing all tests.
For example, with test 305, the input is
<div id="heading1" role="heading">
<p>Some contents that are a header</p>
</div>
The SPARQL result looks for the following:
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0305.xml#heading1> <http://www.w3.org/1999/xhtml/role> <http://www.w3.org/1999/xhtml/heading> .
}
But, I understand that both "role" and "heading" are in XHV, so I think it should instead be the following:
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0305.xml#heading1> <http://www.w3.org/1999/xhtml//vocab#role> <http://www.w3.org/1999/xhtml//vocab#heading> .
}
Am I missing something? (Another reason why PREFIX is useful in SPARQL).
Gregg
On Apr 21, 2010, at 10:31 AM, Shane McCarron wrote:
> There is a draft of the Role Attribute spec available at
> http://www.w3.org/WAI/PF/role-attribute - this specification includes
> ties to RDFa Core and describes how triples should be raised when @role
> is encountered in languages that incorporate @role and RDFa Core.
> Please review this document, in particular Appendix A, so that you
> understand what we are trying to do and that you agree with the
> direction I am taking that spec in.
>
> Thanks!
>
> --
> Shane P. McCarron Phone: +1 763 786-8160 x120
> Managing Director Fax: +1 763 786-8180
> ApTest Minnesota Inet: shane@aptest.com
>
>
>
Received on Thursday, 31 May 2012 20:11:35 UTC