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

Hmm....  Interesting idea.  I guess this is one for the task force.  My 
concern would be that accepting a safe_curie tacitly implies that 1) it 
doesn't accept real curies, and 2) accepts URIs.  Remember that to date 
the ONLY use for safe_curie is in the context of URIorCURIE.

Ivan Herman wrote:
> 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
>>>
>>>   
>>>       
>
>   

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Wednesday, 12 December 2007 17:13:00 UTC