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

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 15:06:44 +0100
Message-ID: <475FEAF4.2010107@w3.org>
To: Shane McCarron <shane@aptest.com>
Cc: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
You are right. But... would it be a huge ugliness if @rel (and similars)
accepted a safe CURIE, too (not requiring it, just accepting it)? I
expect this to be a recurrent source of mistakes...

Just asking:-)

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 14:06:52 GMT

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