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()?

thanks

regards
 marcel

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



Reply via email to