jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Boolean function true() in query string
Date Fri, 11 Jul 2008 13:24:05 GMT
Michael Dürig wrote:
> The use case is the spec. AFAIK the query is valid XPath and JSR 170 
> explicitly requires support for true() and false().

from a mere syntactic standpoint that correct, but jackrabbit only supports 
true() and false() in specific locations of a statement.

> So I guess this is a bug.

it actually is expected behaviour.

> Note: the following works: //*[@jcr:created = true()].

that's exactly where you can use the true() and false(). to check if a boolean 
property is true or false.


regards
  marcel

Mime
View raw message