Re: Proposed changes to test sute

I went ahead and made the proposed changes in [1] and [2].

Gregg Kellogg
gregg@greggkellogg.net

[1] https://github.com/rdfa/rdfa-website/commit/85ba26a4fa310ab93a40a55efa4d54e70b22135b
[2] https://github.com/rdfa/rdfa-website/commit/b10884ec47ade8c38d798443b0606b3e4806e63c

On May 23, 2013, at 11:14 AM, Gregg Kellogg <gregg@greggkellogg.net> wrote:

> 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 Friday, 24 May 2013 18:39:54 UTC