cast $expected-result to xs:boolean