jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sascha.The...@innovations.de>
Subject AW: Support of < and <= operators in XPath queries
Date Tue, 12 Oct 2010 06:31:59 GMT

Hi,

the query is not invalid, it works. I have tested it and it is the only way to get it working.

Cheers

Sascha

-----Urspr√ľngliche Nachricht-----
Von: Julian Reschke [mailto:julian.reschke@gmx.de]
Gesendet: Mo 11.10.2010 18:50
An: users@jackrabbit.apache.org
Cc: Theves Sascha
Betreff: Re: Support of < and <= operators in XPath queries
 
On 11.10.2010 13:52, Sascha.Theves@innovations.de wrote:
> Hi all,
>
>
>
> I have the following XPath query:
>
>
>
> //element(*, nt:base) [@myapp:date>  '2010-10-11T13:43:14.230+02:00']
>
>
>
> If the condition of the query returns true then this query:
>
>
>
> //element(*, nt:base) ['2010-10-11T13:43:14.230+02:00'<  @myapp:date]
> ...

As far as I recall, the second one should be an invalid query, as you 
have the property on the wrong side of the comparison.

Best regards, Julian


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message