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

Re: Another way other than @profile, @vocab or @map

From: Martin McEvoy <martin@weborganics.co.uk>
Date: Fri, 19 Mar 2010 15:50:28 +0000
Message-ID: <4BA39D44.6010308@weborganics.co.uk>
To: Shane McCarron <shane@aptest.com>
CC: Toby Inkster <tai@g5n.co.uk>, Ivan Herman <ivan@w3.org>, RDFa WG <public-rdfa-wg@w3.org>
On 19/03/2010 15:42, Shane McCarron wrote:
> Martin McEvoy wrote:
>> anyway +1 for using the url @vocab to declare the default CURIE 
>> prefix, I would like to add that @vocab should only be used once in a 
>> RDFa document to avoid invalid RDF in the output document (switching 
>> default namespaces)
> I think I disagree with this.  I feel @vocab should be scoped just as 
> @xmlns is today, and within its scope keywords are interpreted in the 
> context of that vocabulary. 

I'm not disagreeing with you.. by scoped you mean available more than 
once and all the descendant keywords are scoped within the vocabulary 
declared at @vocab.

> This is entirely consistent with the processing rules - after all, the 
> keywords are transformed into full URIs as soon as the processor 
> encounters them.  In my implementation, this would be a 2 line change 
> I think,

Indeed,  I don't have a problem with that, and 2 line change is not much 
effort. :)

Best wishes.

Martin McEvoy
Received on Friday, 19 March 2010 15:52:08 UTC

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