W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > March 2012

Re: Fwd: Error in RDFa Core 1.1 examples

From: Shane McCarron <shane@aptest.com>
Date: Sat, 24 Mar 2012 13:04:47 -0500
Message-ID: <4F6E0CBF.2080402@aptest.com>
To: public-rdfa-wg@w3.org
In my opinion the reviewer is confused.  The examples correctly specify 
@prefix values as PREFIX: IRI - @prefix does not take a CURIE as a 
value.  It takes whitespace separated list of prefix-name IRI pairs as 
specified in section 5:

prefix
    a white space separated list of prefix-name IRI pairs of the form

    NCName  <http://www.w3.org/2010/02/rdfa/sources/rdfa-core/Overview-src.html#P_prefix>  ':' ' '+ xsd:anyURI



On 3/24/2012 10:34 AM, Ivan Herman wrote:
> Shane,
>
> can you check that? If true, we should formally add it as a formal 
> issue tombe handled when we are out of CR. This is obviously an 
> editorial issue..
>
> Ivan
>
> ---
> Ivan Herman
> Tel:+31 641044153
> http://www.ivan-herman.net
>
> (Written on mobile, sorry for brevity and misspellings...)
>
>
>
> Begin forwarded message:
>
>> *From:* "Ben Companjen" <ben@companjen.name <mailto:ben@companjen.name>>
>> *Date:* 24 March 2012 16:19:33 CET
>> *To:* ivan@w3.org <mailto:ivan@w3.org>,ben@adida.net 
>> <mailto:ben@adida.net>
>> *Subject:* *Error in RDFa Core 1.1 examples*
>>
>> Dear Mr Adida and Mr Herman,
>>
>> I discovered that the example CURIES in section 2.2 of the RDFa Core 
>> 1.1 Candidate Recommendation do not conform to the definition later 
>> in the document. The examples have spaces between the namespace 
>> prefix + ":" and the namespace URI, whereas the definition only has a 
>> colon.
>>
>> I found out because the XSLT stylesheet in the Any23 project that 
>> extracts triples from HTML+RDFa documents does not expect those 
>> spaces, but the RDFaCE Lite editor put them in my blog post and the 
>> examples support it (hence I didn't understand why Sindice wouldn't 
>> correctly extract namespaces from the post). Only after changing the 
>> stylesheet I looked at the definition of CURIES and found out they 
>> weren't supposed to be there.
>>
>> Could you look at this and update the specification?
>>
>> Thank you in advance.
>>
>> Regards,
>>
>> Ben Companjen
>>
>>
>>

-- 
Shane McCarron
Managing Director, Applied Testing and Technology, Inc.
+1 763 786 8160 x120
Received on Saturday, 24 March 2012 18:05:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC