Proposed changes to test sute

Just to consolidate feedback from Alex and proposed test suite changes:

The @version is set to "XHTML+RDFa 1.1" for HTML4 tests; should should be "HTML+RDFa 1.1"; without objection I will change this in the template which generates all of the HTML4 tests.

Test 0109 is defined for xhtml1, html4, and html5 for both RDFa 1.0 and 1.1. It is there to ensure that @xml:base is ignored. Shane points out that XHTML 1.1 specifically prohibits the use of @xml:base, bud Alex responds that that would be an XHTML conformance issue, not an RDFa conformance issue. I propose that we simply remove xhtml1 from this test case.

Test 0256 changes for @lang and @xml:lang on the same element, which is defined for xhtml1, html4, html5, and xhtml5. HTML5+RDFa 1.1 specifically talks about @lang and @xml:lang on the same element and that @xml:lang takes precedence. HTML5 prohibits the use of @lang in the XML namespace in HTML documents, only in XML documents. For compatibility purposes, the @xml:lang attribute in no namespace MAY be used, but only if an @lang attribute is also specified, and they must have the same value. Furthermore, even in XHTML5, the values of @xml:lang and @lang, if both present MUST have the same value. The value of this test for RDFa is questionable, as it tests something which is illegal, at least in (X)HTML5. I suggest we remove html4 and html5 from this test, and consider dropping the test altogether.

Gregg Kellogg
gregg@greggkellogg.net

Received on Thursday, 23 May 2013 18:15:03 UTC