Hi Christophe,
You may take a look at http://mail-archives.apache.org/mod_mbox/
incubator-jackrabbit-dev/200508.mbox/%
[EMAIL PROTECTED]
I've got the same problem, so this could help you a bit.
Regards
Jakub
On Sep 27, 2005, at 8:39 PM, Christophe Lombart wrote:
I'm looking for some search examples based on dates.
Is it a correct search expression : //element(*, nt:unstructured)
[EMAIL PROTECTED] <= TIMESTAMP '2005-09-27T00:00:00.000+01:00']
I got the following exception whih this expression :
javax.jcr.query.InvalidQueryException: Encountered
"\'2005-09-27T00:00:00.000+01:00\'" at line 1, column 66.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"-" ...
"+" ...
"|" ...
"[" ...
"]" ...
<CastAs> ...
<TreatAs> ...
"," ...
Are there other ways to build queries on date properties ?
Thanks,
Christophe