Hi David, David Kennedy wrote:
Is the <= operator working correctly for dates in query? The following testcase compares 2 dates and I'd expect <= to succeed, but it fails. The= succeeds though. Am I misinterpreting the query? Anybody else seenthis?
this is because jackrabbit does not coerce values for those two operators. you have to use the xs:dataTime() constructor:
/jcr:root//[EMAIL PROTECTED] <= xs:dateTime('1972-02-01T02:02:02.002+00:00')]
regards
marcel
