Predicate establishment with @property
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0001.html
information resource results: 0001.sparql
purpose: Tests @property to establish the predicate; literal object is in the content of the element.

@rel and @rev
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0006.html
information resource results: 0006.sparql
purpose: Tests @rev and @rel together, with the object being specified by @href, ignoring content

@rel, @rev, @property, @content
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0007.html
information resource results: 0007.sparql
purpose: Tests @rel, @rev, @property, and @content together to generate several RDF triples.

empty string @about
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0008.html
information resource results: 0008.sparql
purpose: Tests empty @about.

@rev
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0009.html
information resource results: 0009.sparql
purpose: Tests @rev.

@rel, @rev, @href
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0010.html
information resource results: 0010.sparql
purpose: Tests @rel, @rev, and @href to generate two RDF triples.

@xml:lang
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
information resource input: 0012.html
information resource results: 0012.sparql
purpose: Tests @xml:lang

@xml:lang inheritance
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
information resource input: 0013.html
information resource results: 0013.sparql
purpose: Tests @xml:lang inheritance

@datatype, xsd:integer
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0014.html
information resource results: 0014.sparql
purpose: Tests setting the @datatype to xsd:integer

meta and link
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0015.html
information resource results: 0015.sparql
purpose: Tests meta and link with no parent @about

Related blanknodes
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0017.html
information resource results: 0017.sparql
purpose: Tests creation of statements involving explicitly created blank nodes.

@rel for predicate
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0018.html
information resource results: 0018.sparql
purpose: Tests @rel to establish predicate.

@about for subject
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0019.html
information resource results: 0019.sparql
purpose: Tests @about to establish subject.

Inheriting @about for subject
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0020.html
information resource results: 0020.sparql
purpose: Tests @about inheritance to establish subject.

Subject inheritance with no @about
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0021.html
information resource results: 0021.sparql
purpose: Tests inheritance of subject when no @about can be found

@id does not generate subjects
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0023.html
information resource results: 0023.sparql
purpose: Tests that @id does not generate subjects

simple chaining test
contributor: Ben Adida
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0025.html
information resource results: 0025.sparql
purpose: Tests simple chaining with cascade of @resource and @property

@content
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0026.html
information resource results: 0026.sparql
purpose: Tests @content for literal object

@content, ignore element content
contributor: Wing Yung
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0027.html
information resource results: 0027.sparql
purpose: Tests @content for literal object, overriding element content.

markup stripping with @datatype
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0029.html
information resource results: 0029.sparql
purpose: Tests markup stripping from a span element with @datatype=xsd:string

omitted @about
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0030.html
information resource results: 0030.sparql
purpose: Tests omitted @about.

simple @resource
contributor: Ralph Swick
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0031.html
information resource results: 0031.sparql
purpose: Tests if @resource sets URIref object correct.

@resource overrides @href
contributor: Ralph Swick
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0032.html
information resource results: 0032.sparql
purpose: Tests if @resource overrides @href to set the URIref object.

simple chaining test with bNode
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0033.html
information resource results: 0033.sparql
purpose: Tests simple chaining with cascade of bNode and @property

simple img[@src] test
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0034.html
information resource results: 0034.sparql
purpose: Tests if a @src (in img element) correctly sets the URIref object

@src/@href test
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0035.html
information resource results: 0035.sparql
purpose: Tests if @href overwrites @src

@src/@resource test
contributor: Michael Hausenblas
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0036.html
information resource results: 0036.sparql
purpose: Tests if @resource overwrites @src

@src/@href/@resource test
contributor: Steven Pemberton
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0037.html
information resource results: 0037.sparql
purpose: Tests if @resource overwrites both @href and @src

@rev - img[@src] test
contributor: Mark Birbeck
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0038.html
information resource results: 0038.sparql
purpose: Tests if a @src (in img element) correctly sets the URIref subject (due to @rev)

@rev - @src/@href test
contributor: Mark Birbeck
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0039.html
information resource results: 0039.sparql
purpose: Tests if @href overwrites @src correctly to set the URIref subject (due to @rev)

@rev - @src/@resource test
contributor: Mark Birbeck
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xhtml1
host language: html4
information resource input: 0040.html
information resource results: 0040.sparql
purpose: Tests if @resource overwrites @src correctly to set the URIref subject (due to @rev)

@rev - @src/@href/@resource test
contributor: Mark Birbeck
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0041.html
information resource results: 0041.sparql
purpose: Tests if @resource overwrites both @href and @src correctly to set the URIref subject (due to @rev)

img[@src] test with omitted @about
contributor: Ben Adida
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
information resource input: 0042.html
information resource results: 0042.sparql
purpose: Tests if a @src (in img element) correctly sets the URIref object (with omitted @about)

@typeof with @rel present, no @href, @resource, or @about
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
information resource input: 0046.html
information resource results: 0046.sparql
purpose: Tests @typeof with @rel present, no @href, @resource, or @about

@typeof with @rel and @resource present, no @about
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
information resource input: 0047.html
information resource results: 0047.sparql
purpose: Tests @typeof with @rel and @resource present, no @about

@typeof with @about and @rel present, no @resource
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0048.html
information resource results: 0048.sparql
purpose: Tests @typeof with @about and @rel present, no @resource

@typeof with @about, no @rel or @resource
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0049.html
information resource results: 0049.sparql
purpose: Tests @typeof with @about, no @rel or @resource

@typeof without anything else
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0050.html
information resource results: 0050.sparql
purpose: Tests @typeof without anything else

@typeof with a single @property
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0051.html
information resource results: 0051.sparql
purpose: Tests @typeof with a single @property

@typeof with @resource and nothing else
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0052.html
information resource results: 0052.sparql
purpose: Tests to ensure that @typeof does not apply to @resource

@typeof with @resource and nothing else, with a subelement
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0053.html
information resource results: 0053.sparql
purpose: Tests to make sure that @typeof does not apply to @resource, but @resource sets the subject for the next triple to be generated

multiple @property
contributor: Fabien Gandon
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0054.html
information resource results: 0054.sparql
purpose: Tests multiple @property separated by white spaces

multiple @rel
contributor: Fabien Gandon
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0055.html
information resource results: 0055.sparql
purpose: Tests multiple @rel separated by white spaces

@typeof applies to @about on same element with hanging rel
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0056.html
information resource results: 0056.sparql
purpose: Tests if @typeof applies to @about on same element with hanging @rel

hanging @rel creates multiple triples
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0057.html
information resource results: 0057.sparql
purpose: Tests if hanging @rel creates multiple triples

hanging @rel creates multiple triples, @typeof permutation; RDFa 1.0 version
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0058.html
information resource results: 0058.sparql
purpose: Tests if hanging @rel creates multiple triples with @typeof permutation

multiple hanging @rels with multiple children
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0059.html
information resource results: 0059.sparql
purpose: Tests multiple hanging @rels with multiple children

UTF-8 conformance
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0060.html
information resource results: 0060.sparql
purpose: Tests conformance with UTF-8 encoding

@rel in head using reserved, non-prefixed XHTML value
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
information resource input: 0061.html
information resource results: 0061.sparql
purpose: Tests @rel in head using reserved, non-prefixed XHTML value

@rev in head using reserved, non-prefixed XHTML value
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
information resource input: 0062.html
information resource results: 0062.sparql
purpose: Tests @rev in head using reserved, non-prefixed XHTML value

@rel in head using reserved XHTML value and empty-prefix CURIE syntax
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0063.html
information resource results: 0063.sparql
purpose: Tests @rel in head using reserved XHTML value and empty-prefix CURIE syntax

@about with safe CURIE
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0064.html
information resource results: 0064.sparql
purpose: Tests if @about generates a proper triple when a safe CURIE is used

@rel with safe CURIE
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0065.html
information resource results: 0065.sparql
purpose: Tests if @rel properly connects triples generated when safe CURIEs are used

@about with @typeof in the head
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0066.html
information resource results: 0066.sparql
purpose: Test to make sure that @about (with current document) is implied in the head, and the proper triples are generated using @typeof

@property in the head
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0067.html
information resource results: 0067.sparql
purpose: Test to make sure that @property in head uses the implied current document as the subject if no other subject is specified

Relative URI in @about
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0068.html
information resource results: 0068.sparql
purpose: Tests to ensure that relative URI is resolved correctly when used in @about

Relative URI in @href
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0069.html
information resource results: 0069.sparql
purpose: Tests to ensure that relative URI is resolved correctly when used in @href

Relative URI in @resource
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0070.html
information resource results: 0070.sparql
purpose: Tests to ensure that relative URI is resolved correctly when used in @resource

No explicit @about
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0071.html
information resource results: 0071.sparql
purpose: Tests to ensure that a triple is generated even if @typeof and @about is not specified anywhere in the document

Relative URI in @about (with XHTML base in head)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0072.html
information resource results: 0072.sparql
purpose: Tests to ensure that relative URIs are resolved correctly when used in @about with XHTML base set in head

Relative URI in @resource (with XHTML base in head)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0073.html
information resource results: 0073.sparql
purpose: Tests to ensure that relative URIs are resolved correctly when used in @resource with XHTML base set in head

Relative URI in @href (with XHTML base in head)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0074.html
information resource results: 0074.sparql
purpose: Tests to ensure that relative URIs are resolved correctly when used in @href with XHTML base set in head

Reserved word 'license' in @rel with no explicit @about
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0075.html
information resource results: 0075.sparql
purpose: Tests to ensure that the XHTML+RDFa reserved word 'license' when used in @rel (with no @about) generates the proper triple

All reserved XHTML @rel values
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
information resource input: 0076.html
information resource results: 0076.sparql
purpose: Tests to ensure that all reserved XHTML words are supported in @rel

All reserved XHTML @rev values
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
information resource input: 0077.html
information resource results: 0077.sparql
purpose: Tests to ensure that all reserved XHTML words are supported in @rev

Multiple incomplete triples, RDFa 1.0 version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0078.html
information resource results: 0078.sparql
purpose: Tests multiple ways of handling incomplete triples; the first two triples should use the same bnode as subject ('merged'). The third should have a separate bNode.

@resource and @href in completing incomplete triples
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0079.html
information resource results: 0079.sparql
purpose: Tests role of @resource and @href in completing incomplete triples (including their mutual priorities)

@about overrides @resource in incomplete triples
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0080.html
information resource results: 0080.sparql
purpose: Tests if @about has a higher priority than @resource in handling incomplete triples

multiple ways of handling incomplete triples (with @rev); RDFa 1.0 version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0081.html
information resource results: 0081.sparql
purpose: Tests multiple ways of handling incomplete triples, this time with @rev

multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.0 version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0082.html
information resource results: 0082.sparql
purpose: Tests multiple ways of handling incomplete triples, this time with both @rel and @rev

multiple ways of handling incomplete triples (merged)
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0083.html
information resource results: 0083.sparql
purpose: Tests multiple ways of handling incomplete triples; the first two triples should use the same bNode as subject ('merged'); the third case should use @about

multiple ways of handling incomplete triples, this time with both @rel and @rev
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0084.html
information resource results: 0084.sparql
purpose: Tests multiple ways of handling incomplete triples, this time with both @rel and @rev. There is an intermediate div that should be ignored by the process

@resource and @href in completing incomplete triples
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0085.html
information resource results: 0085.sparql
purpose: Tests the role of @resource and @href in completing incomplete triples (including their mutual priorities), but with an intermediate layer (ie, bNode) added

All reserved XHTML @rel values (with :xxx)
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0087.html
information resource results: 0087.sparql
purpose: Tests to ensure that all reserved XHTML words are supported in @rel (with :xxx)

Interpretation of the CURIE "_:"
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0088.html
information resource results: 0088.sparql
purpose: Test the interpretation of the CURIE "_:"

@src sets a new subject (@typeof)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0089.html
information resource results: 0089.sparql
purpose: Tests to ensure that @src sets a new subject (focuses on @typeof).

@src sets a new subject (@rel/@href)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: xhtml1
host language: html4
information resource input: 0090.html
information resource results: 0090.sparql
purpose: Tests to ensure that @src sets a new subject (focuses on @rel/@href).

Non-reserved, un-prefixed CURIE in @property
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0091.html
information resource results: 0091.sparql
purpose: Tests to ensure that non-reserved, un-prefixed CURIEs, when used in @property, generate triples.

Tests XMLLiteral content with explicit @datatype (user-data-typed literal)
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0093.html
information resource results: 0093.sparql
purpose: Tests the explicit specification of an RDF XMLLiteral with @datatype using a non-RDF namespace, yielding a user-data-typed literal

Preservation of white space in literals
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0099.html
information resource results: 0099.sparql
purpose: Tests the preservation of white space in literals.

rdf:value
contributor: Fabien Gandon
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0104.html
information resource results: 0104.sparql
purpose: Tests rdf:value with blank nodes to give a value with a unit

chaining with empty value in inner @rel
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0106.html
information resource results: 0106.sparql
purpose: Tests the behavior of triple generation in the case where the inner @rel is defined, but is blank, which halts chaining.

no garbage collecting bnodes
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0107.html
information resource results: 0107.sparql
purpose: Checks to make sure that that while we shouldn't garbage collect bnodes no triples are generated.

plain literal with datatype="" and xml:lang preservation
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
information resource input: 0108.html
information resource results: 0108.sparql
purpose: Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "" and preserves the xml:lang value. The text, with control characters and whitespace preserved, reads "Greek white space ".

Tests to ensure @xml:base is ignored
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: html4
host language: html5-invalid
information resource input: 0109.html
information resource results: 0109.sparql
purpose: Tests to make sure that @xml:base is ignored in XHTML+RDFa 1.0. The input test document is invalid XHTML.

bNode generated even though no nested @about exists
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0110.html
information resource results: 0110.sparql
purpose: Tests to make sure that a bNode is generated even though no nested @about exists.

two bNodes generated after three levels of nesting
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0111.html
information resource results: 0111.sparql
purpose: Tests to make sure that two bNodes are generated after three levels of nesting and that the last div does not generate a triple.

plain literal with datatype=""
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0112.html
information resource results: 0112.sparql
purpose: Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "".

element with @property and no child nodes generates empty plain literal
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
information resource input: 0113.html
information resource results: 0113.sparql
purpose: Checks to make sure that an element with @property and no child nodes generates empty plain literal.

Relative URI dot-segment removal
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0114.html
information resource results: 0114.sparql
purpose: Checks to make sure that a relative URI is resolved correctly according to RFC3986, section 5 (even when the relative URI is invalid, in this case).

XML Entities must be supported by RDFa parser
contributor: Ivan Herman
contributor: Toby Inkster
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0115.html
information resource results: 0115.sparql
purpose: Checks to make sure that XML Entities are treated properly by the RDFa parser.

Fragment identifiers stripped from BASE
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0117.html
information resource results: 0117.sparql
purpose: Checks to make sure that fragment identifiers are stripped from [base] when used to generate triples.

empty string "" is not equivalent to NULL - @about
contributor: Ben Adida
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0118.html
information resource results: 0118.sparql
purpose: Checks to make sure that the empty string "" isn't considered as NULL in languages such as Javascript when generating triples. This test sets the subject in a chain using @href and then immediately changes the subject using @about and generates a triple. A buggy parser may use the @href subject (http://example.org/javascript.html) instead of the one defined by @about.

"[prefix:]" CURIE format is valid
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0119.html
information resource results: 0119.sparql
purpose: Checks to make sure that an RDFa processor expands CURIEs having only a prefix and a colon if a prefix is properly defined using xmlns.

"[:]" CURIE format is valid
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0120.html
information resource results: 0120.sparql
purpose: Checks to make sure that an RDFa processor expands CURIEs having only a colon to the default prefix "http://www.w3.org/1999/test-cases/vocab#".

"[]" is a valid safe CURIE
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: xhtml5
information resource input: 0121.html
information resource results: 0121.sparql
purpose: Checks to make sure RDFa processors resolve the empty CURIE correctly. Note that this is not valid HTML due to recursive elements.

resource="[]" does not set the object
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0122.html
information resource results: 0122.sparql
purpose: Checks to make sure that resource="[]" does not set the object since RDFa does not allow non-prefixed CURIEs.

Multiple @typeof values
contributor: Shane P. McCarron
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0126.html
information resource results: 0126.sparql
purpose: Checks to ensure that multiple (white space separated) values in @typeof trigger multiple rdf:type triples.

Whitespace alternatives in attributes
contributor: Philip Taylor
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0131.html
information resource results: 0131.sparql
purpose: Ensures that multiple whitespace alternatives in attributes are allowed.

Uppercase reserved words
contributor: Philip Taylor
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0134.html
information resource results: 0134.sparql
purpose: Ensures that mixed-case reserved words generate triples.

Blank nodes identifiers are not allowed as predicates
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0140.html
information resource results: 0140.sparql
purpose: The RDF data model does not allow blank node identifiers in predicates. This test ensures that RDFa processors do not emit invalid triples.
specification reference: Section 7.4.4

xmlns prefix 'xmlzzz' (reserved)
contributor: Philip Taylor
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5
information resource input: 0147.html
information resource results: 0147.sparql
purpose: Ensures that RDFa processors allow the prefix 'xmlzzz', even though it is a reserved prefix in XML.

@datatype="" generates plain literal in presence of child nodes
contributor: KANZAKI, Masahide
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
information resource input: 0172.html
information resource results: 0172.sparql
purpose: Checks to ensure that when @datatype="" is used on an element that contains child nodes, that the literal that is generated is a plain literal.

@xml:lang="" clears language setting
contributor: KANZAKI, Masahide
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
information resource input: 0173.html
information resource results: 0173.sparql
purpose: Checks to ensure that when @xml:lang="" is used that any parent element language setting is cleared and a language-less literal is generated.

Support single character prefix in CURIEs
contributor: I. Stewartson
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0174.html
information resource results: 0174.sparql
purpose: Checks to ensure that the RDFa processor correctly processes single character prefixes when processing CURIEs.

IRI for @property is allowed
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0175.html
information resource results: 0175.sparql
purpose: Checks to make sure that a URI may be used as a @property value

IRI for @rel and @rev is allowed
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0176.html
information resource results: 0176.sparql
purpose: Checks to make sure that a URI may be used as @rel and @rev values

Test @prefix
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0177.html
information resource results: 0177.sparql
purpose: Checks to make sure @prefix with a single entry creates a URI mapping

Test @prefix with multiple mappings
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0178.html
information resource results: 0178.sparql
purpose: Checks to make sure @prefix with multiple entires creates multiple URI mappings

Test @prefix vs @xmlns priority
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5
information resource input: 0179.html
information resource results: 0179.sparql
purpose: Checks to make sure @prefix has a higher priority than @xmlns

Test @prefix with empty mapping
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0180.html
information resource results: 0180.sparql
purpose: Checks to make sure @prefix with empty prefix does not create a mapping.

Test default XHTML vocabulary
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0181.html
information resource results: 0181.sparql
purpose: Checks Tests a CURIE with default namespace uses XHTML Vocabulary namespace.

Test prefix locality
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0182.html
information resource results: 0182.sparql
purpose: Checks to be sure that prefixes are defined within the element hierarchy.

Test @xmlns redefines @prefix
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5
information resource input: 0183.html
information resource results: 0183.sparql
purpose: A new @xmlns definition should override a previous @prefix definition at this element.

@vocab after subject declaration
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0186.html
information resource results: 0186.sparql
purpose: Check that @vocab establishes a new default vocabulary when declared on the same element as a subject declaration via @about.

@vocab redefinition
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0187.html
information resource results: 0187.sparql
purpose: Check that a more deeply nested @vocab attribute overloads a previous @vocab definition.

@vocab only affects predicates
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0188.html
information resource results: 0188.sparql
purpose: Check that @vocab definitions on parent elements only affect predicate establishment.

@vocab overrides default term
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0189.html
information resource results: 0189.sparql
purpose: Check that @vocab changes a default term from XHV. Lookup checks default vocabulary before local term mappings.
specification reference: 7.4.3 General Use of Terms in Attributes

Test term case insensitivity
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0190.html
information resource results: 0190.sparql
purpose: Check to ensure a mixed case term matches a case insensitive definition

Test process explicit XMLLiteral
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0196.html
information resource results: 0196.sparql
purpose: XMLLiteral must be explicitly specified, otherwise a normal untyped literal is created

Test TERMorCURIEorAbsURI requires an absolute URI
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0197.html
information resource results: 0197.sparql
purpose: TERMorCURIEorAbsURI requires an absolute URI

datatype XMLLiteral with other embedded RDFa
contributor: Shane P. McCarron
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: xhtml5
information resource input: 0198.html
information resource results: 0198.sparql
purpose: Checks to ensure that when datatype is the default the parser generates triples for embedded content.

Expressing an attribute using @property
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: svg
information resource input: 0201.html
information resource results: 0201.sparql
purpose: Tests @property to establish the predicate; literal object is in the content of the element.

Tests to ensure @xml:base used in SVG
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: svg
host language: xml
information resource input: 0202.html
information resource results: 0202.sparql
purpose: Tests to make sure that @xml:base is used in SVG+RDFa, XML+RDFa.
specification reference: http://www.w3.org/QA/2008/12/rdfa_and_svg_tiny_and_the_rdfa.html

Tests to ensure @xml:base, XML+RDFa used in non-root elements in SVG
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: svg
host language: xml
information resource input: 0203.html
information resource results: 0203.sparql
purpose: Tests to make sure that @xml:base is used in non-root elements in SVG+RDFa, XML+RDFa.
specification reference: http://www.w3.org/QA/2008/12/rdfa_and_svg_tiny_and_the_rdfa.html

Usage of Initial Context
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0206.html
information resource results: 0206.sparql
purpose: Tests whether the default RDFa 1.1 context (which contains prefix definitions, among others, to the Semantic Web Standard vocabularies) is properly handled.
specification reference: N.A.

Vevent using @typeof
contributor: Fabien Gandon
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0207.html
information resource results: 0207.sparql
purpose: Tests Vevent using @typeof (inlc. dtstart, dtend, etc.)
specification reference: N.A.

@prefix should be ignored with version set to 1.0
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0209.html
information resource results: 0209.sparql
purpose: Tests whether the @prefix attribute is ignored if version is explicitly set to 1.0
specification reference: N.A.

@prefix should be ignored with version set to 1.0, and @xmlns should prevail
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0210.html
information resource results: 0210.sparql
purpose: Tests whether the @prefix attribute is ignored and @xmlns is used instead if version is explicitly set to 1.0
specification reference: N.A.

@vocab should be ignored with version set to 1.0
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0211.html
information resource results: 0211.sparql
purpose: Tests whether the @vocab attribute is ignored if version is explicitly set to 1.0
specification reference: N.A.

Datatype generation for a literal with XML content, version 1.0
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0212.html
information resource results: 0212.sparql
purpose: In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral
specification reference: N.A.

Datatype generation for a literal with XML content, version 1.1
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0213.html
information resource results: 0213.sparql
purpose: In RDFa 1.1, even if a literal contains XML elements, and no explicit datatype is set, the result is plain literal
specification reference: N.A.

Root element has implicit @about=""
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0214.html
information resource results: 0214.sparql
purpose: All documents have an implicit @about=""
specification reference: N.A.

Character encoding detection with large header
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0215.html
information resource results: 0215.sparql
purpose: Character encoding should work even in view of a large set of characters as attributes in the header, ie, when content sniffing may not work to establish encoding.

Proper character encoding detection in spite of large headers
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0216.html
information resource results: 0216.sparql
purpose: Character encoding should work even in view of a large set of characters as attributes in the header, ie, when content sniffing may not work to establish encoding.

@vocab causes rdfa:usesVocabulary triple to be added
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0217.html
information resource results: 0217.sparql
purpose: When encountering @vocab, a processor generates a triple with the base URI, rdfa:usesVocabulary and the IRI of the added vocabulary.
specification reference: 7.5 step 2

@inlist to create empty list
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0218.html
information resource results: 0218.sparql
purpose: @inlist on @rel with no incomplete triples creates an empty list.
specification reference: 7.5 step 14

@inlist with literal
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0219.html
information resource results: 0219.sparql
purpose: @inlist with @property creates a list having a literal as a single element.
specification reference: 7.5 step 11

@inlist with IRI
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0220.html
information resource results: 0220.sparql
purpose: @inlist with @rel and @href creates a list having an IRI as a single element.
specification reference: 7.5 step 9

@inlist with hetrogenious membership
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0221.html
information resource results: 0221.sparql
purpose: @inlist with @rel and @property creates a list with both IRI and Literal elements.
specification reference: 7.5 Step 11

@inlist with multi-level elements
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
information resource input: 0222.html
information resource results: 0222.sparql
purpose: @inlist with @property at different levels of descendence creates single list.
specification reference: 7.5 Step 11

@inlist with non-list property
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
information resource input: 0223.html
information resource results: 0223.sparql
purpose: Use of predicate with @inlist and without @inlist creates both list and non-list triples.
specification reference: 7.5 Step 9

@inlist hanging @rel
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0224.html
information resource results: 0224.sparql
purpose: Use of @rel and @inlist with decendent IRI elements creates list
specification reference: 7.5 Step 11

@inlist on different elements with same subject
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
information resource input: 0225.html
information resource results: 0225.sparql
purpose: @inlist with same property and subject on different elements creates multiple lists
specification reference: 7.5 Step 11

confusion between multiple implicit collections (resource)
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
information resource input: 0226.html
information resource results: 0226.sparql
purpose: Use of @inlist with implicit subject uses different list
specification reference: 7.5 Step 8

confusion between multiple implicit collections (about)
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
information resource input: 0227.html
information resource results: 0227.sparql
purpose: Use of @inlist with implicit subject uses different list
specification reference: 7.5 Step 9

1.1 alternate for test 0040: @rev - @src/@resource test
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0228.html
information resource results: 0228.sparql
purpose: @src is a lower priority than @resource
specification reference: 7.5 Step 6

img[@src] test with omitted @about
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0229.html
information resource results: 0229.sparql
purpose: Tests if a @src (in img element) does not set the URIref object (with omitted @about) -- from 0042
specification reference: 7.5 Step 6

@src does not set a new subject (@rel/@href)
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0230.html
information resource results: 0230.sparql
purpose: Tests to ensure that @src does not set a new subject (oposite of 0090 for 1.0).
specification reference: 7.5 Step 6

Set image license information
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0231.html
information resource results: 0231.sparql
purpose: Tests new behavior of @src in 1.1
specification reference: 7.5 Step 6

@typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046);
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0232.html
information resource results: 0232.sparql
purpose: Tests @typeof with @rel present, no @href, @resource, or @about creates a BNode object
specification reference: 7.5 Step 6

@typeof with @rel and @resource present, no @about (1.1 behavior of 0047)
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0233.html
information resource results: 0233.sparql
purpose: Tests @typeof with @rel and @resource present, no @about adds type to object

All defined HTML link relation values
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
information resource input: 0234.html
information resource results: 0234.sparql
purpose: Tests to ensure that all defined linked relations expand

rdfagraph='processor' does not generate standard triples
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-proc
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: rdfagraph=processor
information resource input: 0235.html
information resource results: 0235.sparql
purpose: Setting rdfagraph query parameter to 'processor' does not output standard triples
expected results: false

rdfagraph='processor' with a markup error generates rdfa:Error
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-proc
classification: required
host language: xml
host language: xhtml1
host language: svg
query param: rdfagraph=processor
information resource input: 0236.html
information resource results: 0236.sparql
purpose: Setting rdfagraph query parameter to 'processor' generates an rdf:Error
specification reference: 7.6 Processor Status

rdfagraph='processor' with invalid SafeCURIE generates rdfa:Warning
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-proc
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
host language: svg
query param: rdfagraph=processor
information resource input: 0237.html
information resource results: 0237.sparql
purpose: Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a SafeCURIE with an invalid prefix.
specification reference: 7.6 Processor Status and 7.4.2 General Use of CURIEs in Attributes

rdfagraph='processor' with missing Term definition generates rdfa:Warning
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-proc
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: rdfagraph=processor
information resource input: 0238.html
information resource results: 0238.sparql
purpose: Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a missing Term definition.
specification reference: 7.6 Processor Status and 7.4.3 General Use of Terms in Attributes

rdfagraph='processor' with undefined prefix generates rdfa:Warning
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-proc
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: rdfagraph=processor
information resource input: 0239.html
information resource results: 0239.sparql
purpose: Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a SafeCURIE with an undefined prefix.
specification reference: 7.6 Processor Status and 7.4.2 General Use of CURIEs in Attributes

vocab_expansion='true' expands sub-property
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0240.html
information resource results: 0240.sparql
purpose: A property having an rdfs:subPropertyOf relationship defined in an in-use vocabulary causes triples to be added to the referenced property.
specification reference: 10.1.1 RDFa Vocabulary Entailment

vocab_expansion='true' expands equivalent-property
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0241.html
information resource results: 0241.sparql
purpose: A property having an owl:equivalentProperty relationship defined in an in-use vocabulary causes triples to be added to the referenced property.
specification reference: 10.1.1 RDFa Vocabulary Entailment

vocab_expansion='true' expands referenced equivalent-property
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0242.html
information resource results: 0242.sparql
purpose: A property which is the target of another property having an owl:equivalentProperty relationship defined in an in-use vocabulary causes triples to be added to the defining property.
specification reference: 10.1.1 RDFa Vocabulary Entailment

vocab_expansion='true' expands sub-class
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0243.html
information resource results: 0243.sparql
purpose: A property having an rdfs:subClassOf relationship defined in an in-use vocabulary causes triples to be added to the referenced class.
specification reference: 10.1.1 RDFa Vocabulary Entailment

vocab_expansion='true' expands equivalent-class
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0244.html
information resource results: 0244.sparql
purpose: A class having an owl:equivalentClass relationship defined in an in-use vocabulary causes triples to be added to the referenced class.
specification reference: 10.1.1 RDFa Vocabulary Entailment

vocab_expansion='true' expands referenced equivalent-class
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1-vocab
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
host language: svg
query param: vocab_expansion=true
information resource input: 0245.html
information resource results: 0245.sparql
purpose: A class which is the target of another class having an owl:equivalentClass relationship defined in an in-use vocabulary causes triples to be added to the defining class.
specification reference: 10.1.1 RDFa Vocabulary Entailment

hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0246.html
information resource results: 0246.sparql
purpose: Tests if hanging @rel creates multiple triples with @typeof permutation

Multiple incomplete triples, RDFa 1.1version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0247.html
information resource results: 0247.sparql
purpose: Tests multiple ways of handling incomplete triples; the first two triples should use the same bnode as subject ('merged'). The third should have a separate bNode.

multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0248.html
information resource results: 0248.sparql
purpose: Tests multiple ways of handling incomplete triples, this time with @rev

multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0249.html
information resource results: 0249.sparql
purpose: Tests multiple ways of handling incomplete triples, this time with both @rel and @rev

Checking the right behaviour of @typeof with @about, in presence of @property
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0250.html
information resource results: 0250.sparql
purpose: Tests that @typeof is clearly bound to @about, and @property therefore creates a Literal object

lang
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0251.html
information resource results: 0251.sparql
purpose: Tests lang

lang inheritance
contributor: Elias Torres
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0252.html
information resource results: 0252.sparql
purpose: Tests lang inheritance

plain literal with datatype="" and lang preservation
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0253.html
information resource results: 0253.sparql
purpose: Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "" and preserves the xml:lang value. The text, with control characters and whitespace preserved, reads "Greek white space ".

@datatype="" generates plain literal in presence of child nodes
contributor: KANZAKI, Masahide
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0254.html
information resource results: 0254.sparql
purpose: Checks to ensure that when @datatype="" is used on an element that contains child nodes, that the literal that is generated is a plain literal.

lang="" clears language setting
contributor: KANZAKI, Masahide
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0255.html
information resource results: 0255.sparql
purpose: Checks to ensure that when lang="" is used that any parent element language setting is cleared and a language-less literal is generated.

lang and xml:lang on the same element
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: xhtml5
information resource input: 0256.html
information resource results: 0256.sparql
purpose: Tests @xml:lang and @lang on the same element with different values; @xml:lang should prevail.

element with @property and no child nodes generates empty plain literal (HTML5 version of 0113)
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0257.html
information resource results: 0257.sparql
purpose: Checks to make sure that an element with @property and no child nodes generates empty plain literal.

The underscore character is not allowed as a prefix or in xmlns
contributor: Philip Taylor
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: false
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0258.html
information resource results: 0258.sparql
purpose: Ensures that a prefix cannot start with an underscore character when specified using xmlns or prefix.

XML+RDFa Initial Context
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0259.html
information resource results: 0259.sparql
purpose: All processors must load the RDFa Core Initial Context.
specification reference: 4.3 XML+RDFa Document Conformance

XHTML+RDFa Initial Context
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xhtml1
information resource input: 0260.html
information resource results: 0260.sparql
purpose: XHTML+RDFa initial context.
specification reference: XHTML+RDFa 1.1 Section 3. Additional RDFa Processing Rules

White space preservation in XMLLiteral
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0261.html
information resource results: 0261.sparql
purpose: Whitespace must be maintained in an XMLLiteral, too

Predicate establishment with @property, with white spaces before and after the attribute value
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0262.html
information resource results: 0262.sparql
purpose: Tests @property to establish the predicate; literal object is in the content of the element. There are extra whitespaces before and after the property attribute value which should be ignored

@property appearing on the html element yields the base as the subject
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0263.html
information resource results: 0263.sparql
purpose: @property appearing on the html element without @content or @datatype yields the base as the subject

@property appearing on the head element gets the subject from , ie, parent
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0264.html
information resource results: 0264.sparql
purpose: @property appearing on the head element gets the subject from , ie, parent

@property appearing on the head element gets the subject from , ie, parent
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0265.html
information resource results: 0265.sparql
purpose: @property appearing on the head element gets the subject from , ie, parent; in this case the parent subject is explicitly set via @about

@property without @content or @datatype, typed object set by @href and @typeof
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0266.html
information resource results: 0266.sparql
purpose: @property without @content or @datatype, typed object set by @href and @typeof

@property without @content or @datatype, typed object set by @resource and @typeof
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0267.html
information resource results: 0267.sparql
purpose: @property without @content or @datatype, typed object set by @resource and @typeof

@property without @content or @datatype, typed object set by @src and @typeof
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0268.html
information resource results: 0268.sparql
purpose: @property without @content or @datatype, typed object set by @src and @typeof

@property appearing on the html element yields the base as the subject, also with @content
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0269.html
information resource results: 0269.sparql
purpose: @property appearing on the html element without @content or @datatype yields the base as the subject, also with @content
title: Use of @property in HEAD without explicit subject
purpose: @property appearing on the head element gets the subject from parent, also with @content

Use of @property in HEAD with explicit parent subject via @about
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0271.html
information resource results: 0271.sparql
purpose: @property appearing on the head element gets the subject from parent, also with @content and explicit @about at the top

time element with @datetime an xsd:date
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0272.html
information resource results: 0272.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:date.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:time
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0273.html
information resource results: 0273.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:time.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:dateTime
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0274.html
information resource results: 0274.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:dateTime.
specification reference: HTML+RDFa 1.1 3.1

time element with value an xsd:date
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0275.html
information resource results: 0275.sparql
purpose: The time element value is used when generating output with valid xsd:date.
specification reference: HTML+RDFa 1.1 3.1

time element with value an xsd:time
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0276.html
information resource results: 0276.sparql
purpose: The time element value is used when generating output with valid xsd:time.
specification reference: HTML+RDFa 1.1 3.1

time element with value an xsd:dateTime
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0277.html
information resource results: 0277.sparql
purpose: The time element value is used when generating output with valid xsd:dateTime.
specification reference: HTML+RDFa 1.1 3.1

@content overrides @datetime
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0278.html
information resource results: 0278.sparql
purpose: The @content attribute has a higher priority than @datetime.
specification reference: HTML+RDFa 1.1 3.1

@datatype used with @datetime overrides default datatype
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0279.html
information resource results: 0279.sparql
purpose: If @datatype is specified, it must override the automatic datatype.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:duration
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0280.html
information resource results: 0280.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:duration.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:gYear
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0281.html
information resource results: 0281.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:gYear.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:gYearMonth
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0282.html
information resource results: 0282.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:gYearMonth.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an invalid datatype generates plain literal
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0283.html
information resource results: 0283.sparql
purpose: If the lexical scope of @datetime does not exactly match a known datatype a plain literal is generated.
specification reference: HTML+RDFa 1.1 3.1

time element not matching datatype but with explicit @datatype
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0284.html
information resource results: 0284.sparql
purpose: A time element with an unmatched value still generates a typed literal without modification given a @datatype attribute.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an invalid datatype and in scope @lang generates plain literal with language
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0285.html
information resource results: 0285.sparql
purpose: If no @datatype is specified and the value does not match a xsd:dateTime, xsd:date, or xsd:time pattern, a plain literal must be generated with the associated language of the node, if available.
specification reference: HTML+RDFa 1.1 3.1

time element with @datetime an xsd:dateTime with TZ offset
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0287.html
information resource results: 0287.sparql
purpose: The @datetime attribute is used when generating output with valid xsd:dateTime and a Time Zone offset.
specification reference: HTML+RDFa 1.1 3.1

@href becomes subject when @property and @content are present
contributor: Niklas Lindström
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0289.html
information resource results: 0289.sparql
purpose: When @property and @content are present but @about, @rel and @rev are not, @href is used as subject.
specification reference: RDFa Core 1.1, section 7.5 step 5.2

@href becomes subject when @property and @datatype are present
contributor: Niklas Lindström
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0290.html
information resource results: 0290.sparql
purpose: When @property and @datatype are present but @about, @rel and @rev are not, @href is used as subject and element content is used as an object literal.
specification reference: RDFa Core 1.1, section 7.5 step 5.2

@href as subject overridden by @about
contributor: Niklas Lindström
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0291.html
information resource results: 0291.sparql
purpose: When @property, @datatype, @href and @about are present but @rel and @rev are not, @about is used as subject.
specification reference: RDFa Core 1.1, section 7.5 step 5.2

@about overriding @href as subject is used as parent resource
contributor: Niklas Lindström
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0292.html
information resource results: 0292.sparql
purpose: When @property, @datatype, @href and @about are present but @rel and @rev are not, @about is used as subject and is also applied to nested descriptions.
specification reference: RDFa Core 1.1, section 6

Testing the ':' character usage in a CURIE
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0293.html
information resource results: 0293.sparql
purpose: RDFa 1.1 CURIE allows the ':' to appear in the reference part of a CURIE.
specification reference: RDFa Core 1.1, section 6

Ensure initial context is not used for RDFa 1.0
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.0
classification: required
host language: svg
host language: xhtml1
expected results: false
information resource input: 0294.html
information resource results: 0294.sparql
purpose: RDFa 1.1 defines an initial context containing prefixes and terms. RDFa 1.0 must not define such prefixes and terms.
specification reference: RDFa Syntax 1.0, section 6.3.1.3

Benchmark test
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
expected results: true
information resource input: 0295.html
information resource results: 0295.sparql
purpose: Complex benchmark document.

@property does set parent object without @typeof
contributor: Manu Sporny
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0296.html
information resource results: 0296.sparql
purpose: When @property is used with a resource attribute (@href, @resource, ...) it does not set parent object.
specification reference: RDFa Core 1.1 section 7.5 step 5.1 and step 11

@about=[] with @typeof does not create a new subject
contributor: Alex Milowski
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0297.html
information resource results: 0297.sparql
purpose: When the @about resolves to nothing, the typed resource should not create a new subject.
specification reference: RDFa Core 1.1 section 7.5 step 5.1

@about=[] with @typeof does not create a new object
contributor: Alex Milowski
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0298.html
information resource results: 0298.sparql
purpose: When the @about resolves to nothing, the typed resource should not create a new subject (chaining).
specification reference: RDFa Core 1.1 section 7.5 step 5.2

@resource=[] with @href or @src uses @href or @src (@rel)
contributor: Alex Milowski
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0299.html
information resource results: 0299.sparql
purpose: When the @resource resolves to nothing, @href or @src should be used (@rel case).
specification reference: RDFa Core 1.1 section 7.5 step 6

@resource=[] with @href or @src uses @href or @src (@property)
contributor: Alex Milowski
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0300.html
information resource results: 0300.sparql
purpose: When the @resource resolves to nothing, @href or @src should be used (@property case).
specification reference: RDFa Core 1.1 section 7.5 step 11

@property with @typeof creates a typed_resource for chaining
contributor: Alex Milowski
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0301.html
information resource results: 0301.sparql
purpose: @property with @typeof creates a typed_resource for chaining.

@typeof with different content types
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: true
information resource input: 0302.html
information resource results: 0302.sparql
purpose: Tests that @typof works with terms, CURIES or IRIs.

For HTML+RDFa 1.1, remove term elements of @rel/@rev when on same element as @property
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
expected results: true
information resource input: 0303.html
information resource results: 0303.sparql
purpose: So that HTML link-relations don't accidentally change the meaning of @property, in HTML+RDFa @rel/@rev term elements are removed from processing, and the entire attribute is removed if it is empty.

Embedded chunks of RDF/XML
contributor: Toby Inkster
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
classification: required
expected results: true
host language: svg
information resource input: 0304.html
information resource results: 0304.sparql
purpose: Tests that embedded RDF/XML is added to the same graph.
specification reference: http://www.w3.org/TR/SVGTiny12/metadata.html#Introduction says 'an RDF processor should combine them into the same graph'

role attribute with explicit id and term
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5
host language: xhtml5
information resource input: 0305.html
information resource results: 0305.sparql
purpose: When role is specified along with an id the appropriate triple is created.
specification reference: http://www.w3.org/TR/role-attribute/#using-role-in-conjunction-with-rdfa says 'if @id is present, it is used to supply the subject...'

role attribute with explicit base id and term
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xhtml1
host language: html5
host language: xhtml5
information resource input: 0306.html
information resource results: 0306.sparql
purpose: When role is specified along with an id the appropriate triple is created.
specification reference: http://www.w3.org/TR/role-attribute/#using-role-in-conjunction-with-rdfa says 'if @id is present, it is used to supply the subject...'

role attribute with term and no id
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
rdfa version: rdfa1.1-lite
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5
host language: xhtml5
information resource input: 0307.html
information resource results: 0307.sparql
purpose: When role is specified along with an id the appropriate triple is created.
specification reference: http://www.w3.org/TR/role-attribute/#using-role-in-conjunction-with-rdfa says 'if @id is present, it is used to supply the subject...'

role attribute with explicit id and IRI as object
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0308.html
information resource results: 0308.sparql
purpose: When role is specified along with an id the appropriate triple is created.
specification reference: http://www.w3.org/TR/role-attribute/#using-role-in-conjunction-with-rdfa says 'if @id is present, it is used to supply the subject...'

role attribute with explicit id and CURIE as object
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0309.html
information resource results: 0309.sparql
purpose: When role is specified along with an id the appropriate triple is created.
specification reference: http://www.w3.org/TR/role-attribute/#using-role-in-conjunction-with-rdfa says 'if @id is present, it is used to supply the subject...'

role attribute with multiple values
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0310.html
information resource results: 0310.sparql
purpose: The datatype permits multiple whitespace separated roles
specification reference: http://www.w3.org/TR/role-attribute/#s_role_module_attributes says 'The role attribute takes as its value one or more whitespace separated TERMorCURIEorAbsIRIs'

Ensure no triples are generated when @property is empty
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.0
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: xml
host language: svg
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
expected results: false
information resource input: 0311.html
information resource results: 0311.sparql
purpose: If no terms or CURIEs are present in @property, no triple should be generated from it.
specification reference: RDFa Core 1.1, section 7.5 step 11

Mute plain @rel if @property is present
contributor: Niklas Lindström
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
information resource input: 0312.html
information resource results: 0312.sparql
purpose: In HTML5, when @property is present on an element, a @rel attribute on the same element containing only non-CURIE and non-URI values must be completely ignored.
specification reference: HTML+RDFa 1.1 3.1

rdfagraph='processor' redefining an initial context prefix generates rdfa:PrefixRedefinition warning
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1-proc
rdfa version: rdfa1.1-lite
classification: required
host language: html5
host language: xhtml5
query param: rdfagraph=processor
information resource input: 0313.html
information resource results: 0313.sparql
purpose: Setting rdfagraph query parameter to 'processor' generates an rdfa:PrefixRedefinition warning when an initial context prefix is redefined.

Use of many terms from the default vocabulary
contributor: Shane McCarron
type: TestCase
rdfa version: rdfa1.1-role
classification: required
expected results: true
host language: xml
host language: xhtml1
host language: html5-invalid
host language: xhtml5-invalid
information resource input: 0314.html
information resource results: 0314.sparql
purpose: When role is specified using default vocabulary terms the expected triples are created.
specification reference: http://www.w3.org/TR/role-attribute/#A_role says 'The default vocabulary for use is defined in XHTML-VOCAB'

@property and @typeof with incomplete triples
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0315.html
information resource results: 0315.sparql
purpose: In HTML5, an element with @property and @typeof with incomplete triples sets uses typed resource.
specification reference: HTML+RDFa 1.1 3.1

@property and @typeof with incomplete triples (@href variant)
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0316.html
information resource results: 0316.sparql
purpose: In HTML5, an element with @property and @typeof with incomplete triples sets uses typed resource (@href variant).
specification reference: HTML+RDFa 1.1 3.1

@datatype inhibits new @property behavior
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0317.html
information resource results: 0317.sparql
purpose: Using @datatype on the same element as @property forces the object to be a literal value.
specification reference: RDFa Core 1.1, section 7.5 step 11

Setting @vocab to empty strings removes default vocabulary
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
classification: required
information resource input: 0318.html
information resource results: 0318.sparql
purpose: If the value (of @vocab) is empty, then the local default vocabulary must be reset to the Host Language defined default.
specification reference: RDFa Core 1.1, section 7.5 step 2

Relative @profile
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5
classification: required
information resource input: 0319.html
information resource results: 0319.sparql
purpose: Relative IRI's used with @prefix do not resolve against the document base; they are not processed in any way. However, the returned document does have a base, so when queried, it will seem to have the same base as the original document.
specification reference: RDFa Core 1.1, section 7.5 step 3

@property binds to @href
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
host language: xml
host language: xhtml1
host language: html4
host language: html5-invalid
host language: xhtml5-invalid
classification: required
information resource input: 0320.html
information resource results: 0320.sparql
purpose: Given @property with @href and @src, @href is used as object and sets new subject.
specification reference: RDFa Core 1.1, section 7.5 step 5

rdfa:copy to rdfa:Pattern
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0321.html
information resource results: 0321.sparql
purpose: Simple reference to an rdfa:Pattern.
specification reference: HTML+RDFa Section 3.5.1

rdfa:copy for additional property value
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0322.html
information resource results: 0322.sparql
purpose: an rdfa:Pattern can add an additional property value.
specification reference: HTML+RDFa Section 3.5.1

Multiple references to rdfa:Pattern
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0323.html
information resource results: 0323.sparql
purpose: Multiple subjects can reference the same rdfa:Pattern.
specification reference: HTML+RDFa Section 3.5.1

Multiple references to rdfa:Pattern
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0324.html
information resource results: 0324.sparql
purpose: A subject can reference multiple rdfa:Pattern definitions.
specification reference: HTML+RDFa Section 3.5.1

Multiple references to rdfa:Pattern creating a resource
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0325.html
information resource results: 0325.sparql
purpose: An rdfa:Pattern defining a new blank-node object only creates a single node.
specification reference: HTML+RDFa Section 3.5.1

rdfa:Pattern removed only if referenced
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0326.html
information resource results: 0326.sparql
purpose: An rdfa:Pattern is removed if referenced, and not otherwise
specification reference: HTML+RDFa Section 3.5.1

rdfa:Pattern chaining
contributor: Gregg Kellogg
type: TestCase
rdfa version: rdfa1.1
rdfa version: rdfa1.1-lite
host language: html5
host language: xhtml5
classification: required
information resource input: 0327.html
information resource results: 0327.sparql
purpose: RDFa reference folding rules are repeated to allow prototypes to be chained.
specification reference: HTML+RDFa Section 3.5.1

@content overrides the content of the time element.
contributor: Ivan Herman
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0328.html
information resource results: 0328.sparql
purpose: @content overrides the content of the time element.
specification reference: HTML+RDFa 1.1 3.1

Recursive triple generation
contributor: Terry Panagoulis
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0329.html
information resource results: 0329.sparql
purpose: Tests recursive triple generation for nested literals.
specification reference: N.A.

@datatype overrides inherited @lang
contributor: Reece H. Dunn
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0330.html
information resource results: 0330.sparql
purpose: Tests @datatype is used instead of @lang when @datatype is not empty (e.g. annotating a date).
specification reference: N.A.

@datatype overrides inherited @lang, with @content
contributor: Reece H. Dunn
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0331.html
information resource results: 0331.sparql
purpose: Tests @datatype is used instead of @lang when @datatype is not empty, and @content is used for the value (e.g. annotating a language with human and machine readable text).
specification reference: N.A.

Empty @datatype doesn't override inherited @lang, with @content
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: xml
host language: xhtml1
host language: html4
host language: html5
host language: xhtml5
information resource input: 0332.html
information resource results: 0332.sparql
purpose: Tests @lang is used instead of @datatype when @datatype is empty, and @content is used for the value (e.g. annotating a language with human and machine readable text).
specification reference: 7.5 step 11

@content overrides @datetime (with @datatype specified)
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0333.html
information resource results: 0333.sparql
purpose: If @content is specified, it must override the value of @datetime (with @datatype specified).
specification reference: HTML+RDFa 1.1 3.1

@resource changes the current subject for the nested elements
contributor: Stéphane Corlosquet
type: TestCase
rdfa version: rdfa1.1
classification: required
host language: html5
host language: xhtml5
information resource input: 0334.html
information resource results: 0334.sparql
purpose: @resource should change the current subject of the triples generated from nested HTML elements.
specification reference: RDFa Core 1.1, section 7.5 step 5