Hi, I'm working in a module that convert boolean expressions to queries in the repository.
When I try a query like this one : //*...@test='value' and true()] I get this exception : javax.jcr.query.InvalidQueryException: Unsupported location for true() And when trying to do : //*...@test='value' and (0 = 0)] I get this exception : java.lang.ArrayIndexOutOfBoundsException: -1 I thought true() and false() were required by the JSR170 specification. Maybe I don't use them properly. Is there a easy/efficient way to make tautologies and contradictions? Or should I need to write algorithms to avoid these situations? Regards, Frank
