Re: Fwd: Error in RDFa Core 1.1 examples

Ben,

Unless I am missing something, I think that you are reading the examples 
in section 2.2 wrong or you have not quite understood how the @prefix 
attribute works.

In RDFa @prefix is used to declare prefix mappings.  It takes the 
special format PREFIX ':' ' ' xsd:anyURI - this is defined (along with 
the data types of all of the RDFa attributes) in section 5.  @prefix 
does not take CURIEs.  It defines the prefix mappings that are later 
used by CURIEs.

In all of the other places in section 2.2 where I looked I did not see 
any use of prefix: IRI other than in the declaration of prefixes.

If I have missed something, please let me know.  Thanks!

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 19:13:20 UTC