Re: Test Case #123: "[]" is a valid safe CURIE

Ivan,

> Just to make it clear for whoever maintains the test cases these days:
> the proper response to the test is

Yeah, yeah, I know ... I'm such a slacker ;)

No, seriously, it's on the top of my to-do list, still struggling with some
CVS issues here at my end (although I have perfect support by W3C team ;)

I try to do all the open TC today before the telecon but I'd not bet on it
...

Cheers,
Michael

-- 
Dr. Michael Hausenblas
DERI - Digital Enterprise Research Institute
National University of Ireland, Lower Dangan,
Galway, Ireland, Europe
Tel. +353 91 495730
http://sw-app.org/about.html


> From: Ivan Herman <ivan@w3.org>
> Organization: World Wide Web Consortium
> Date: Thu, 08 Jan 2009 12:25:51 +0100
> To: Mark Birbeck <mark.birbeck@webbackplane.com>
> Cc: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list
> <public-rdf-in-xhtml-tf@w3.org>
> Subject: Re: Test Case #123: "[]" is a valid safe CURIE
> Resent-From: <public-rdf-in-xhtml-tf@w3.org>
> Resent-Date: Thu, 08 Jan 2009 11:26:27 +0000
> 
> Just to make it clear for whoever maintains the test cases these days:
> the proper response to the test is
> 
> ASK WHERE {
> <http://example.org/> <http://purl.org/dc/elements/1.1/contributor>
> "Shane McCarron" ;
>      <http://purl.org/dc/elements/1.1/title> "Test Case 0123" .
> }
> 
> Right?
> 
> Cheers
> 
> Ivan
> 
> Mark Birbeck wrote:
>> Hi Manu,
>> 
>> I'm afraid that @about="[]" *isn't* legal in RDFa, since we don't
>> define a mapping to use when there is no prefix.
>> 
>> The CURIE spec itself does allow for unprefixed terms, but there was
>> opposition to this usage in RDFa itself, and we explicitly remove it,
>> in section 7.
>> 
>> In short, any CURIE that does not contain a colon must come from the
>> constrained list, as described in section 5.4.4. If it doesn't, it
>> should be ignored.
>> 
>> Regards,
>> 
>> Mark
>> 
>> 
>> On Wed, Jan 7, 2009 at 9:56 PM, Manu Sporny <msporny@digitalbazaar.com>
>> wrote:
>>> Purpose:
>>> 
>>> Shane said that the [] CURIE is "probably legal"... I'm starting to
>>> think he's just making this stuff up, now. :)
>>> 
>>> This test checks to make sure that about="[]" and resource="[]" generate
>>> the proper triples. Both should be identified as relative URIs and
>>> resolved against the [base] URL. In this case [base] is the URL for the
>>> current document.
>>> 
>>> ====================== Test Case 123 =============================
>>> 
>>> ---------------------Test Case 123 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"
>>>      xmlns:dc="http://purl.org/dc/elements/1.1/">
>>>   <head>
>>>      <title>Test Case 0123</title>
>>>   </head>
>>>   <body>
>>>      <p about="http://example.org/">
>>>         <span about="[]" property="dc:title">Test Case 0123</span>
>>>         checks to make sure RDFa processors resolve the empty
>>>         CURIE correctly.
>>>         <div about="http://example.org/">
>>>            <div resource="[]">
>>>               <span property="dc:contributor">Shane McCarron</span>
>>>               contributed to this test.
>>>            </div>
>>>         </div>
>>>      </p>
>>>   </body>
>>> </html>
>>> -----------------------------------------------------------------
>>> 
>>> ---------------------Test Case 123 SPARQL -----------------------
>>> ASK WHERE {
>>> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0123.xhtml>
>>>   <http://purl.org/dc/elements/1.1/title>
>>>      "Test Case 0123" .
>>> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0123.xhtml>
>>>   <http://purl.org/dc/elements/1.1/contributor>
>>>      "Shane McCarron" .
>>> }
>>> ----------------------------------------------------------------
>>> 
>>> -- manu
>>> 
>>> --
>>> Manu Sporny
>>> President/CEO - Digital Bazaar, Inc.
>>> blog: Dynamic Spectrum Auctions and Digital Marketplaces
>>> http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
> 
> -- 
> 
> Ivan Herman, W3C Semantic Web Activity Lead
> Home: http://www.w3.org/People/Ivan/
> mobile: +31-641044153
> PGP Key: http://www.ivan-herman.net/pgpkey.html
> FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 8 January 2009 11:36:36 UTC