Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Remove xhtml1 from test 0109, which is defined for xhtml1, html4, and…
Browse files Browse the repository at this point in the history
… 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, but Alex responds that that would be an XHTML conformance issue, not an RDFa conformance issue.

Remove html4 and html5 from test 0256, which uses @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.
  • Loading branch information
gkellogg committed May 24, 2013
1 parent 85ba26a commit b10884e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifest.ttl
Expand Up @@ -858,7 +858,7 @@ white space
a test:TestCase;
rdfatest:rdfaVersion "rdfa1.0", "rdfa1.1";
test:classification test:required;
rdfatest:hostLanguage "xhtml1", "html4", "html5";
rdfatest:hostLanguage "html4", "html5";
test:informationResourceInput <test-cases/0109.html>;
test:informationResourceResults <test-cases/0109.sparql>;
test:purpose "Tests to make sure that @xml:base is ignored in XHTML+RDFa 1.0. The input test document is invalid XHTML.";
Expand Down Expand Up @@ -1860,7 +1860,7 @@ white space
a test:TestCase;
rdfatest:rdfaVersion "rdfa1.1";
test:classification test:required;
rdfatest:hostLanguage "xhtml1", "html4", "html5", "xhtml5";
rdfatest:hostLanguage "xhtml1", "xhtml5";
test:informationResourceInput <test-cases/0256.html>;
test:informationResourceResults <test-cases/0256.sparql>;
test:purpose "Tests @xml:lang and @lang on the same element with different values; @xml:lang should prevail.";
Expand Down

0 comments on commit b10884e

Please sign in to comment.