This document reports processor conformance for [[ROLE-ATTRIBUTE]] according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [[EARL10-SCHEMA]].

This document describes the Role Attribute Test Suite running at http://rdfa.info/.

This document reflects the current state of test execution as of its publication date.

Role Attribute CR exit criteria

The Role Attribute specification has the following CR exit criteria. Each one is linked to data in this document that supports its having been satisfied.

  1. At least two user agent implementations that can demonstrate access to the role attribute and its lexical values via the DOM.
  2. At least two implementations are documented for each of the following requirements:
    1. Pass the RDFa 1.1 with Role tests; (pyRDFa, RDFa Distiller)
    2. Correctly handle use of the role attribute with values from the default vocabulary; (Test 0314)
    3. Correctly handle use of the role attribute with more than one value, including situations where some values are not from a recognized vocabulary; (Test 0310)
    4. Correctly handle use of the role attribute with values from a custom vocabulary; (Test 0309)
    5. Correctly handle use of the role attribute with term values, CURIE values, and IRI values.(Test 0305, Test 0309, Test 0308)

Role Attribute support in User Agents

The Role Attribute specification defines a markup-language independent attribute that can be used in HTML or XML based markup languages. The Role Attribute specification defines no behavioral requirements for user agents with regard to the role attribute, but does require that the attribute and its value(s) be available in the DOM. A simple test script demonstrates whether a user agent supports the attribute in the DOM.

User AgentStatus
Google Chrome 22.0.1229.92 mpass
Mozilla Firefox 13.0.1pass
Internet Explorer 9.0.8112.16421pass

Role Attribute support in RDFa 1.1 Processors

The Role Attribute specification places certain basic requirements on RDFa 1.1 processors that also support the role attribute. Below are the EARL reports of the processors that currently support these requirements.

Report on pyRdfa (Python)

Passed 7 out of 7 test cases ( 100%).

RDFa Version rdfa1.1-role.
Host Language: xhtml1.

[rdfa1.1-rolexhtml1] Test 0305: role attribute with explicit id and term

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0306: role attribute with explicit base id and term

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0307: role attribute with term and no id

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0308: role attribute with explicit id and IRI as object

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0309: role attribute with explicit id and CURIE as object

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0310: role attribute with multiple values

The datatype permits multiple whitespace separated roles

Result: PASS

[rdfa1.1-rolexhtml1] Test 0314: Use of many terms from the default vocabulary

When role is specified using default vocabulary terms the expected triples are created.

Result: PASS

Report on RDF Distiller (Ruby)

Passed 7 out of 7 test cases ( 100%).

RDFa Version rdfa1.1-role.
Host Language: xhtml1.

[rdfa1.1-rolexhtml1] Test 0305: role attribute with explicit id and term

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0306: role attribute with explicit base id and term

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0307: role attribute with term and no id

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0308: role attribute with explicit id and IRI as object

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0309: role attribute with explicit id and CURIE as object

When role is specified along with an id the appropriate triple is created.

Result: PASS

[rdfa1.1-rolexhtml1] Test 0310: role attribute with multiple values

The datatype permits multiple whitespace separated roles

Result: PASS

[rdfa1.1-rolexhtml1] Test 0314: Use of many terms from the default vocabulary

When role is specified using default vocabulary terms the expected triples are created.

Result: PASS

Source of test cases used in this report

Test 0305

Test file for test 0305

Test 0306

Test file for test 0306

Test 0307

Test file for test 0307

Test 0308

Test file for test 0308

Test 0309

Test file for test 0309

Test 0310

Test file for test 0310

Test 0314

Test file for test 0314