jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MARTINEZ Antonio" <Antonio.Marti...@alcatel-lucent.com>
Subject Boolean function true() in query string
Date Thu, 10 Jul 2008 19:12:06 GMT
Hello,

And according to the JSR170 document, it should work since the Boolean
function true() should just be a true expression.

Using this query returns all my "pon" objects 
  //Inventory//ne/rack/subrack/slot/pon

But using 
   //Inventory//ne/rack/subrack/slot/pon[true()]
 
I get error  
   "java.lang.RuntimeException: Query failed: Unsupported location for
true()"


Is there an error in my query string or is it not supported ?

Thanks,
Antonio

Mime
View raw message