W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > March 2012

test #236 and HTML5

From: Ivan Herman <ivan@w3.org>
Date: Fri, 9 Mar 2012 16:09:38 +0100
Cc: W3C RDFWA WG <public-rdfa-wg@w3.org>
To: Manu Sporny <msporny@digitalbazaar.com>, Gregg Kellogg <gregg@kellogg-assoc.com>
Message-Id: <5F16D481-B7C6-45AE-97D5-CDD283698701@w3.org>

having successfully passed the tests with XHTML1+RDFa, I am now HTML5+RDFa.

One issue there is test 236:

<!DOCTYPE html>
<html >
    <title>Test 0236</title>
  <body which is not closed should generate a processor error

The problem, in HTML5, that the HTML5 parser (at least the one I use) does not generate any errors, just closes the body element in the DOM tree and returns an, essentially, empty DOM. Ie, no error is generated.

I think we run into the issue of when would an HTML5 go through the lax process of HTML5, which we should, for the purpose of HTML5, keep away from in my view. I would propose NOT to include this test for HTML5 (ie, modify the manifest). The XHTML1 is clear in this respect, and tests the RDFa processor which is the goal after all.


Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Friday, 9 March 2012 15:09:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC