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 19:10:06 +0100
Message-ID: <476023FE.30903@w3.org>
To: Shane McCarron <shane@aptest.com>
Cc: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>


Shane McCarron wrote:
> 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.
>

I would be less concerned about (1) but, yes, (2) might become
disturbing almost as disturbing. Actually... it makes me withdraw my
suggestion...:-)

That issue was solved pretty quickly:-)

ivan


> 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
>>>>
>>>>         
>>
>>   
> 

-- 

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 18:10:11 GMT

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