#5 Value Comparison "lt" not implemented

v1.0 (example)
closed-fixed
nobody
None
5
2011-04-25
2009-08-31
Anonymous
No

The following query returns no result.
for $item in doc('items.xml')/items/item_tuple
where $item/reserve_price lt '40'
return
$item

The value comparison
where $item/reserve_price gt '21' has a strange result too.

Discussion

  • Peter M. Fischer

    • status: open --> closed-fixed
     
  • Peter M. Fischer

    string comparison problem fixed in SVN revision 4288.

    The query has unusual semantics, since the comparison is done using string lexicographical order (e.g. '200' is less than '40') instead of integer/double comparisons

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks