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) )
« Back to merge proposal
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"; abs(xs: unsignedShort( "0"));
declare variable $x:=fn:
(trace($x,"x"), schema- type($x) ,
schema:
$x eq xs:integer(0)
)