Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 62859 invoked from network); 5 May 2006 08:02:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 May 2006 08:02:27 -0000 Received: (qmail 38668 invoked by uid 500); 5 May 2006 08:02:26 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 38524 invoked by uid 500); 5 May 2006 08:02:24 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 38515 invoked by uid 99); 5 May 2006 08:02:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 01:02:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 May 2006 01:02:23 -0700 Received: (qmail invoked by alias); 05 May 2006 08:02:01 -0000 Received: from adsl-84-227-34-183.adslplus.ch (EHLO [192.168.0.101]) [84.227.34.183] by mail.gmx.net (mp007) with SMTP; 05 May 2006 10:02:01 +0200 X-Authenticated: #894343 Message-ID: <445B0678.9000500@gmx.net> Date: Fri, 05 May 2006 10:02:00 +0200 From: Marcel Reutegger User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: date search References: <0CF3B8F1-3365-45E6-8AD1-FA0210476018@macnica.com> <6A4A2000-657B-4F1E-9C52-848776DA04FA@macnica.com> <24AA6620-3367-44FD-A37F-E7872802F904@macnica.com> In-Reply-To: <24AA6620-3367-44FD-A37F-E7872802F904@macnica.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nicolas wrote: > forgot to say that the search was done on a node property. Here's an xml > export fragment: > > sv:type="Date">2006-05-04T09:00:58.000+09:00 > > > 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