jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: date search
Date Fri, 05 May 2006 08:02:00 GMT
Nicolas wrote:
> forgot to say that the search was done on a node property. Here's an xml 
> export fragment:
> 
> <sv:property sv:name="vStartDate" 
> sv:type="Date"><sv:value>2006-05-04T09:00:58.000+09:00</sv:value></sv:property>

> 
> 
> and the search is:
> ... and @vStartDate>'2006-05-05T11:32:22.000+09:00']

try using the xs:dateTime() function this prevents jackrabbit from doing 
  type conversions and indicates the desired type right away:

... and @vStartDate > xs:dateTime('2006-05-05T11:32:22.000+09:00')]

regards
  marcel

Mime
View raw message