W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2011

Re: New Editor's Draft for RDFa API

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sun, 10 Apr 2011 18:23:05 -0400
Message-ID: <4DA22DC9.1030700@digitalbazaar.com>
To: RDFa WG <public-rdfa-wg@w3.org>
On 04/03/2011 10:35 PM, Nathan wrote:
> Looking good on an initial read, only one question.. what would one ever
> use createDocumentData() for? 

Good question. I don't have a good answer. Removed it.

My understanding was that for [NoInterface] objects, one might want a
method that constructs the object. This is fairly straightforward for
things like createTriple() or createParser(). However, I can't think of
a single use case where one would use createDocumentData().

> and one comment, you may need to watch for
> the optionals

Good catch, good point, fixed. I also found another issue related in
getProjection() that allowed 'subject' to be nullable, which doesn't
make sense. Fixed that as well.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: The PaySwarm Vocabulary
http://digitalbazaar.com/2011/03/31/payswarm-vocab/
Received on Sunday, 10 April 2011 22:23:29 UTC

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