jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: XPath - comparing dates
Date Fri, 21 Sep 2007 20:57:23 GMT
Marcel Reutegger wrote:
> Amir Mistric wrote:
>> I am trying to compare 2 date properties to determine if the node has 
>> been modified.
>> Here are the queries I tried to use:
>>
>> 1. 
>> /jcr:root/www-mysite-org//element(*,mgnl:content)[MetaData/@mgnl:activated='true'

>> and MetaData/@mgnl:lastmodified > MetaData/@mgnl:lastaction]
> 
> jackrabbit does not support property names on both sides of a 
> comparison. one of them must be a literal.
> ...

So that should result in an InvalidQueryException, right?

BR, Julian

Mime
View raw message