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

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 UTC