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.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to