Re: RDFa API thoughts

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