> -----Original Message----- > From: Julian Reschke [mailto:[EMAIL PROTECTED] > Sent: Friday, September 21, 2007 4:57 PM > To: [email protected] > Subject: Re: XPath - comparing dates > > 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/@mg > nl: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 >
And ....it does not :) A Bug? Improvement?
