Additional test requirements

Just going through the Core and XHTML docs to see what other tests we might need:

4.1 RDFa Processor Conformance
[[[
A conforming RDFa Processor must preserve white space in both plain literals and XML literals. 
]]]

Test 0099 looks for preservation in plain literals, but we don't seem to have a test specifically to look for whitespace preservation in XML Literals.

[[[
A conforming RDFa Processor must examine the media type of a document it is processing to determine the document's Host Language. If the RDFa Processor is unable to determine the media type, or does not support the media type, the RDFa Processor must process the document as if it were media type application/xml. 
]]]

This may be handled implicitly given different XHTML1 behavior, but we might not have something that is intentionally ambiguous to verify that it falls back to application/xml.

5.2 White space within attribute values

[[[
When attributes accept a white space separated list of tokens, an RDFa Processor must ignore any leading or trailing white space.
]]]

Test 0131 has some interior whitespace in the form of escaped whitespace, but not any leading or trailing whitespace.

Just some details to check in the current test implementations from processing steps:

Step 5:

* @property without @content or @datatype
  * with @about (satisfied by Test 0051)
  * as root element (needs test)
  * with parent subject (needs test)
  * with @typeof and @resource (satisfied by Test 0052)
  * with @typeof and @href (needs test)
  * with @typeof and @src (needs test)
  * as BNode (satisfied by Test 0250)
* @property with @content or @datatype
  * with @about, @href, @src or @resource
  * otherwise, as root (needs test)
  * otherwise, with @typeof (needs test)
  * otherwise with parent object (needs test)
    * and @property (needs test)
  * with @typeof (needs test)

Step 6:

* with @about (needs test)
  * and @typeof (needs test)
* as root element (needs test)
* otherwise, with parent object
* with @resource, @href, @src (satisfied by Test 0233)
* otherwise with @typeof and with @about *satisfied by Test 0048)
* otherwise with @typeof and without @about (satisfied by Test 0232)

Additionally, from XHTML+RDFa 1.1

Step 6 (should it be 5?)

head or body with @about
head or body with @resource
head or body without @about or @resource

Step 7 (should it be 6?)

head or body with @about
head or body with @resource
head or body without @about or @resource

Gregg

Received on Wednesday, 14 March 2012 19:36:38 UTC