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

Re: test #236 and HTML5

From: Ivan Herman <ivan@w3.org>
Date: Fri, 9 Mar 2012 17:11:55 +0100
Cc: Manu Sporny <msporny@digitalbazaar.com>, W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-Id: <5426436C-89FB-4D07-BEE5-0E4F154B2712@w3.org>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
I have changed the manifest and pushed to git. Please check...

ivan

On Mar 9, 2012, at 16:21 , Gregg Kellogg wrote:

> On Mar 9, 2012, at 8:09 AM, "Ivan Herman" <ivan@w3.org> wrote:
> 
>> Guys,
>> 
>> having successfully passed the tests with XHTML1+RDFa, I am now HTML5+RDFa.
>> 
>> One issue there is test 236:
>> 
>> <!DOCTYPE html>
>> <html >
>> <head>
>>   <title>Test 0236</title>
>> </head>
>> <body which is not closed should generate a processor error
>> </html>
>> 
>> 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.
> 
> The purpose of this test is to show that a processor generates an rdfa:Error when it detects a malformed document. If a processor can do this with XHTML I think that's sufficient. As fas as I'm concerned, we can remove it for HTML4 & HTML5.
> 
> Gregg
> 
>> Ivan
>> 
>> ----
>> 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
>> 
>> 
>> 
>> 
>> 
> 


----
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 16:11:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:20 GMT