CellDomain is using lexicographical comparison of int indexes
|Reported by:||pcampalani||Owned by:||pcampalani|
|Keywords:||celldomain order min max||Cc:||dmisev, vmerticariu, mdumitru|
WCPS CellDomain constructor takes min/max bounds as Strings and compare min<max order by means of the String's compareTo method, which is based on Unicode chars.
Numerical comparison must be used instead.
This is a sever bug, which can inhibit queries like:
for c in ( eobstest ) return encode( c[ Long:"CRS:1"(26:138) ], "csv") ==> Invalid cell domain element: lower bound 26 cannot be larger than upper bound 138
(Adding Alex/Vlad in Cc to confirm this is not the case in WCPS 2.0 implementation).