W3C home > Mailing lists > Public > public-rif-wg@w3.org > April 2008

Re: xpath namespace (was Re: DTB status (on today's agenda))

From: Axel Polleres <axel.polleres@deri.org>
Date: Tue, 29 Apr 2008 17:04:57 +0100
Message-ID: <48174729.80205@deri.org>
To: Sandro Hawke <sandro@w3.org>
CC: "Public-Rif-Wg (E-mail)" <public-rif-wg@w3.org>

Sandro Hawke wrote:
>> 2) In any case which FULL URIs should I take for RIF builtins which come 
>> from XPAth/XQuery?
> 
> On this issue, I'll note that we've been promised that XQuery/XSL will
> talk about it today and get back to us.
> 
>    http://lists.w3.org/Archives/Public/public-qt-comments/2008Apr/0132.html
> 
> My sense right now is that (c) is best, but I might be missing some
> reasons for (a).

The reason for (a) imo is that our semantics is deviating from the 
original semantics on functions in a way... since we have undefined 
behavior on error whereas in XPAth/XQuery I can catch/detect specific 
errors. This might not be a severe reason though...

Axel

>> The following options exist:
>>
>> a) define own prefixes (separate for functions and predicates):
>>
>>   http://www.w3.org/2007/rif-builtin-predicates#numeric-equal
>>
>>   http://www.w3.org/2007/rif-builtin-functions#concat
>>
>>
>> b) define own prefix (same for functions and predicates):
>>
>>   http://www.w3.org/2007/rif-builtins#numeric-equal
>>
>>   http://www.w3.org/2007/rif-builtins#concat
>>
>> c) reuse XPath/Xquery fn: prefix (problem: not prefix defined for op: we 
>> still would need to invent one):
>>
>>   http://www.w3.org/2005/xpath-??????#numeric-equal
>>
>>   http://www.w3.org/2005/xpath-functions#concat
>>
>>
>> d) use the URIs in the XPath, XQuery document:
>>
>>   http://www.w3.org/TR/xpath-functions/#func-numeric-equal
>>
>>   http://www.w3.org/TR/xpath-functions/#func-concat
>>
>> e) an older proposal was to use actually symbol spaces for 
>> builtin-functions and -predicates
>>
>>   "numeric-equal"^^http://www.w3.org/2007/rif-builtin-predicates
>>   "numeric-add"^^http://www.w3.org/2007/rif-builtin-functions
>>
>>
>> I personally prefer a) and suggest to
>>
>> PROPOSE: We define own namespace prefixes
>>    PREFIX("pred", "http://www.w3.org/2007/rif-builtin-predicates#").
>>    PREFIX("func", "http://www.w3.org/2007/rif-builtin-functions#").
>> for RIF builtin functions and predicates
> 
>> Dr. Axel Polleres, Digital Enterprise Research Institute (DERI)
>> email: axel.polleres@deri.org  url: http://www.polleres.net/
>>
>> rdfs:Resource owl:differentFrom xsd:anyURI .


-- 
Dr. Axel Polleres, Digital Enterprise Research Institute (DERI)
email: axel.polleres@deri.org  url: http://www.polleres.net/

rdfs:Resource owl:differentFrom xsd:anyURI .
Received on Tuesday, 29 April 2008 16:05:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:48 GMT