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

Re: Question about RDFa processing rule 8 (@typeof)

From: Ivan Herman <ivan@w3.org>
Date: Sat, 28 Aug 2010 11:10:46 +0200
Cc: RDFa WG <public-rdfa-wg@w3.org>, Shane P McCarron <shane@aptest.com>
Message-Id: <DAE703A3-5216-42FF-8EA6-BBB699E92BA9@w3.org>
To: Christoph LANGE <ch.lange@jacobs-university.de>

On Aug 27, 2010, at 15:14 , Christoph LANGE wrote:

> Dear RDFa WG members,
> 
>  I have a question about processing rule 8 from the latest draft (http://www.w3.org/TR/2010/WD-rdfa-core-20100803/), which says:
> 
>> If in any of the previous steps a new subject was set to a non-null value, it is now used to provide a subject for type values;
>> One or more 'types' for the new subject can be set by using @typeof. If present, the attribute must contain one or more URIs 

Actually, I believe that is an editorial bug. Per

http://www.w3.org/2010/02/rdfa/track/issues/13

and its resolution in 

http://www.w3.org/2010/02/rdfa/meetings/2010-04-08#resolution_2

it is allowed to have @typeof="", yielding a (typeless) Bnode. Ie, the text should say "the attribute may contain one or more URIs"

Ivan


>> 
>> 
>> 
>> Note that none of this block is executed if there is no new subject value, i.e., new subject remains null. 
> 
> But aren't the initial remark ("if  a new subject was set to a non-null value") and the last remark ("none of this block is executed if there is no new subject value") a bit redundant?  Processing rules 6 and 7 either determine a new subject e.g. from @about, or, if there is @typeof, they create a bnode.  Therefore it seems to me that the precondition of rule 8 is always satisfied, and rule 8 could be simplified to:
> 
>> If @typeof is present, the attribute must contain one or more URIs 
> 
> Or is there some catch that I am overlooking?
> 
> Cheers, and thanks for any help,
> 
> Christoph
> 
> -- 
> Christoph Lange, Jacobs Univ. Bremen, http://kwarc.info/clange, Skype duke4701


----
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 Saturday, 28 August 2010 09:08:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:07 GMT