W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > December 2007

Test methodology (was Re: Test #64: @rel in <head> using reserved XHTML value and safe, non-prefixed CURIE syntax)

From: Ivan Herman <ivan@w3.org>
Date: Wed, 12 Dec 2007 16:33:27 +0100
Message-ID: <475FFF47.8050401@w3.org>
To: Shane McCarron <shane@aptest.com>
Cc: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
This actually raises another issue. Our current tests (including Manu's
crazyivan) test whether a specific set of triples are in the output.
However, none of the tests test whether the processors generates any
unwanted extra triples. How would we do that?

Ivan

Shane McCarron wrote:
> 
> Actually, rel does not permit the use of a safe CURIE - only a CURIE. 
> So this should NOT produce a triple. 
> Manu Sporny wrote:
>> Purpose:
>>
>> Tests to make sure that the @rel generates a triple in <head> when a
>> reserved value is used from the XHTML namespace and the non-prefixed,
>> safe CURIE syntax is used.
>>
>> ====================== Test Case 64 =============================
>>
>> ---------------------Test Case 64 XHTML--------------------------
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
>>                       "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>>    <head>
>>       <title>Test 0064</title>
>>       <link rel="[:next]"
>>             href="http://www.example.org/nextChapter.html" />
>>    </head>
>>    <body>
>>       <p>This is the first chapter in a series of chapters.</p>
>>    </body>
>> </html>
>> ----------------------------------------------------------------
>>
>> ---------------------Test Case 64 SPARQL -----------------------
>> ASK WHERE {
>> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0064.xhtml>
>>
>>    <http://www.w3.org/1999/xhtml#next>
>>       <http://www.example.org/nextChapter.html> .
>> }
>> -----------------------------------------------------------------
>>
>> -- manu
>>
>>   
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf


Received on Wednesday, 12 December 2007 15:33:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:19 GMT