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

PROPOSAL to close ISSUE-52: ECMAScript alignment

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Mon, 15 Nov 2010 20:15:12 -0500
Message-ID: <4CE1DB20.4090704@digitalbazaar.com>
To: RDFa WG <public-rdfa-wg@w3.org>
If there are no objections to this proposal in 7 days, we will close
ISSUE-52: ECMAScript alignment.


This proposal is based on thorough discussion that happened on the
telecon last week:


The link above contains a detailed account of each change outlined in
ISSUE-52. Rather than re-hash the arguments in the discussion, the
proposed WebIDL is provided below. Note that there was general agreement
to change the concept of DataStore to RDFGraph, the new RDFa API will
not mention DataStore. Thanks go to Nathan for providing the updated WebIDL.

interface RDFGraph {
    readonly attribute unsigned long length;

    RDFTriple           get (in unsigned long index);
    void                add (in RDFTriple triple);
    sequence<RDFTriple> toArray();

    boolean             some(in RDFTripleFilter callback);
    boolean             every(in RDFTripleFilter callback);

    RDFGraph            filter (in RDFTripleFilter filter);
    void                forEach (in RDFTripleCallback callback);

    RDFGraph            merge(in RDFGraph graph);

interface RDFTripleCallback {
    void run (in RDFTriple triple,
              in optional unsigned long index,
              in optional RDFGraph graph);

interface RDFTripleFilter {
    boolean match (in RDFTriple triple,
                   in optional unsigned long index,
                   in optional RDFGraph graph);

Please comment in 7 days from this post if you object to this proposal.
If there are no objections within 7 days, ISSUE-52 will be closed.

-- manu

Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: Linked Data in JSON
Received on Tuesday, 16 November 2010 01:15:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:22 UTC