Hi, BaseX folks.

In BaseX 12.1, Query A below returns (false, false), but I expected (true, 
false). Query B returns true, as I expected. Query C returns (true, false) as 
expected.

Query A

let $map1 := map{'key1': 'string'}
let $map2 := map{'key1': [] }
return
($map1, $map2) !  (. instance of map(xs:string, xs:anyAtomicType) )

Query B

let $map1 := map{'key1': 'string'}
return
$map1 ! (. instance of map(xs:string, xs:anyAtomicType) )

Query C

let $map1 := map{'key1': 'string'}
return ($map1, 0) ! (. instance of map(xs:string, xs:anyAtomicType) )

Am I missing something, or is the Query A behavior a bug?

Thanks,
Amanda

Reply via email to