On Wed, Oct 7, 2009 at 23:53, pkrishna <[email protected]> wrote:
> //ecr:varia...@ecr:documentState!='deleted' and
> @ecr:language='00000000-0000-0000-0000-000000000001' and @ecr:author='Jack'
> and @ecr:title='59fdbb5d-5a7c-4b4e-9abc-4511b2c0180e' and
> @ecr:contentType='GENERIC' and @ecr:contentLocation='Internal' and
> @jcr:mimeType='text/plain' and @ecr:keywords='cat' and @ecr:keywords='dog'
> and @jcr:lastModified='2009-10-07T15:38:16.902-06:00']
Date properties such as jcr:lastModified must be searched using a
special function:
jcr:lastModified=xs:dateTime('2009-10-07T15:38:16.902-06:00')
The string passed to that function must be the exact and full ISO-8601
representation (what property.getString() gives you and which is
already correct in your query).
Regards,
Alex
--
Alexander Klimetschek
[email protected]