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

A Proposal for subject setting by @class

From: Ben Adida <ben@adida.net>
Date: Sat, 07 Jul 2007 14:41:36 -0700
Message-ID: <46900890.3030500@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

We've recently had a discussion about what to do when one wants to
publish a calendar event on a page without necessarily naming it.

The recommendation was:

<div class="cal:Vevent" rel="rdf:li">

or rel="foaf:topic"

(note that I'm using the @class notation though this issue has now been
reopened, so assume


where I say @class.)

I propose that, when a @class appears with a namespaced-value, there be
an implicit @about set for contained statements, exactly as if there
were a @rel. I suspect someone else has brought this up before, but I
can't seem to find it in the archive.

So, for example:

<div class="cal:Vevent">
  <span property="cal:dtstart">2007-07-07</span>

would yield:

_:div0 rdf:type cal:Vevent ;
       cal:dtstart "2007-07-07" .

This is a small but noticeable change, and it may invalidate some
existing markup (though unlikely, since most use case here involve using
an @about on the same @div, in which case the @about takes precedence.)

Thoughts, comments?

Received on Saturday, 7 July 2007 21:41:40 UTC

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