zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #19601
Re: [Merge] lp:~zorba-coders/zorba/bug1156249-minusZero into lp:zorba
Review: Needs Fixing
For some reason the 'eq' operator is broken after these changes.
In the following query you see that $x is xs:integer(0). But $x eq xs:integer(0) returns false...
QUERY:
import module namespace schema = "http://www.zorba-xquery.com/modules/schema";;
declare variable $x:=fn:abs(xs:unsignedShort("0"));
(trace($x,"x"),
schema:schema-type($x),
$x eq xs:integer(0)
)
--
https://code.launchpad.net/~zorba-coders/zorba/bug1156249-minusZero/+merge/155599
Your team Zorba Coders is subscribed to branch lp:zorba.
References