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: John Boyer <boyerj@ca.ibm.com>
Date: Wed, 19 Mar 2008 10:54:55 -0700
To: Ben Adida <ben@adida.net>
Cc: Micah Dubinko <mdubinko@yahoo-inc.com>, public-rdf-in-xhtml-tf@w3.org
Message-ID: <OF88426CE8.90638B3A-ON88257411.0060A304-88257411.006269DF@ca.ibm.com>
Hi Ben,

I can understand you had a long and public discussion, but last call is a 
time for review from a *wider* public.

I understand that rdftype was rejected because it pushed RDF too much and 
we don't want web authors to have to think too much about the type info as 
being distinct from just plain doing XHTML.

I also understand that things like class, type and role are already taken 
and overloading them would be quite bad. 

But one problem pointed out in my LC comment is that instanceof is 
*almost* taken by XForms.  You would be overriding the concept if not the 
exact spelling of an attribute name.  For example XForms has an attribute 
called "instance".

A second problem described in my LC comment is that you don't seem to be 
creating an instance of the rdf type given by "instanceof".  A <div> isn't 
a cal:Vevent. 

My LC comment is not required to present a full solution, and though I 
asked that you come up with a name that better reflects what is happening, 
it occurs to me that a better name for what you are doing is "extends". It 
is a single word attribute, it avoids the name conflict with XForms, and 
it more accurately characterizes the fact that a <div> extends a 
cal:Vevent by adding div-ness, but that the div now takes cal:Vevent as 
its basis.  It would look like this:

   <div extends="cal:Vevent">
      <span property="cal:dtstart"> ... </span>

Because we're doing markup here, the name "implements" would seem to work 
too, in a declarative sense, and may even imply slightly more openness to 
those who might know those words from another context.

John M. Boyer, Ph.D.
Senior Technical Staff Member
Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 

Ben Adida <ben@adida.net> 
03/18/2008 09:47 AM

John Boyer/CanWest/IBM@IBMCA
Micah Dubinko <mdubinko@yahoo-inc.com>, public-rdf-in-xhtml-tf@w3.org
Re: RDFa Last Call Comment: Better name than 'instanceof' is needed

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.

I didn't meant to ignore your comment, by the way, I only meant to wait 
until the task force members express an opinion on the Thursday call. I 
responded to Micah's comment because I could do that immediately without 
consulting the group.

We'll chat about it on Thursday and get back to you.

Received on Wednesday, 19 March 2008 17:55:50 UTC

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