jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Why does jackrabbit unsupport the count function in XPATH
Date Mon, 24 Oct 2005 15:59:31 GMT
Hi Yao,

count() is not supported because it is required by the spec.

unfortunetely there is no easy way of introducing new functions to the 
query handler. the reason basically is, that jackrabbit also supports 
the SQL syntax and that every extension has to be reflected in the 
abstract syntax tree which should be somewhat language independent.

could you please create a jira enhancement issue to support count()?



Yao Harrison wrote:
> Hi List:
>      I've got "javax.jcr.query.InvalidQueryException: Unsupported
> function: count" when I excute the XPATH statement that include count(
> ) function invocation.So can anybody tell me why does JackRabbit not
> support the "Count( )" function ,and how can I implement it in XPATH ?
> Thanks a million !
> Harrison
> 2005-10-24

View raw message