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

Re: RDFa API thoughts

From: Ivan Herman <ivan@w3.org>
Date: Mon, 4 Apr 2011 11:40:19 +0200
Cc: RDFa WG <public-rdfa-wg@w3.org>
Message-Id: <72935270-7DAD-4F51-BEB0-B7CC54168E62@w3.org>
To: Manu Sporny <msporny@digitalbazaar.com>

On Apr 3, 2011, at 19:40 , Manu Sporny wrote:

<snip/>
> 
>> sequence<RDFTriple>   getTriples();
> 
> -1 - If people want to deal w/ triples, they can use the RDF API.
> 

Much that I am an RDF head, I agree:-)

> 
>> CURIE/Term Maps: Is the RDFa API internal map pre-populated w/
>> prefixes and terms defined in the doc?
> 
> No - there MUST NOT be any sort of pre-population of RDFa prefixes based
> on the contents of the document in the RDFa API. The mapping set via the
> .setMapping() call is for application developers only. That also means
> that library writers that use the RDFa API MUST NOT modify the mappings
> w/ .setMapping() unless they're careful to reset it to its previous
> state after using the call.

I fully understand your reaction but... Isn't it correct that the community that would rely on the default prefix mapping of RDFa (via the default profile mechanism) would be a bit surprised if those are not added as pre-populated prefixes?

Ivan


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf







Received on Monday, 4 April 2011 09:40:24 UTC

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