Re: ISSUE-28: Re: 3 Minor issues spotted

Manu Sporny wrote:
> On 06/19/2010 10:31 AM, Nathan wrote:
>> During my previous exercise I spotted a few little things, as follows:
>> DataContext::setMapping (in DOMString prefix, in DOMString iri);
>> Perhaps could be
>> DataContext::setMapping (in DOMString prefix, in IRI iri);
> When creating the RDFa API, we wanted to ensure that most of the API
> could be utilized by using strings. In other words, we didn't want to
> make people create IRI objects just to pass them into the RDFa API
> methods when a simple string would convey the information needed by the
> RDFa API. In other words, this:
> DataContext.setMapping("foaf", "");
> is better than this:
> DataContext.setMapping("foaf", IRI(""));
> Does that rationale resonate with you?

~ish, really need a Valid-IRI-String which could be either an IRI or a 
string I guess - certainly needs to accept both (imho).

all else - great, and thanks for getting back to me,



Received on Sunday, 1 August 2010 19:40:15 UTC