jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yao Harrison <harrison.g...@gmail.com>
Subject Re: Why does jackrabbit unsupport the count function in XPATH
Date Tue, 25 Oct 2005 01:35:53 GMT
Thanks for your advice.

I've created the issue in jira with number : JCR-260 to track with it
and  hopes will be correct quickly ,

Best regards

Harrison Yao
2005-10-25

2005/10/24, Marcel Reutegger <marcel.reutegger@gmx.net>:
> 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
> >
> >
>
>

Mime
View raw message