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

Re: RDFa DOM API (Fully merged)

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 19 May 2010 13:36:48 +0100
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <20100519133648.1085ff3f@miranda.g5n.co.uk>
On Wed, 19 May 2010 00:08:28 -0400
Manu Sporny <msporny@digitalbazaar.com> wrote:

> http://www.w3.org/2010/02/rdfa/sources/rdfa-dom-api/

I really don't like some of the method names. In particular, the
document.getObjectsByX names are galling given that their function is
to get groups of statements sharing a common *subject* (not object).

For anyone just starting out with RDF and RDFa, who has just grasped
the notion of subject, predicate and object, the following method name
will make their head asplode...


How about renaming them getItemsByX? Or is that too close to
Microdata's API.

Toby A Inkster
Received on Wednesday, 19 May 2010 12:56:26 UTC

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