W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2008

Re: RDFa Last Call Comment: Better name than 'instanceof' is needed

From: Daniel E. Renfer <duck@kronkltd.net>
Date: Wed, 19 Mar 2008 20:18:50 -0400
Message-ID: <47E1AD6A.2010508@kronkltd.net>
To: public-rdf-in-xhtml-tf@w3.org
Ben Adida wrote:
> 
> John Boyer wrote:
>>
>> But could you explain why the spelling "instanceof" is mandatory?
> 
> You mean why we chose @instanceof specifically? We went through a long 
> (and public) discussion about this. @rdftype was brought up and 
> rejected. Ideally, we would have used @type, but that was taken. And our 
> previous overloading of @class made a few people quite upset.

What about splitting the difference and going with @typeof? (or 
@type-of) It avoids the use of the name @type. It doesn't use the term 
"Instance". (which as John pointed out, has a different meaning in 
XForms) It also make it easy for new RDFa users with only a basic 
understanding of RDF to make the connection.

If you want to say that this <div> has a (rdf:)type of foaf:Person, then 
just say typeof="foaf:Person".

Is there any reason why that term wouldn't work?

Daniel E. Renfer


Received on Thursday, 20 March 2008 00:19:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:56 UTC