W3C XQuery Standard Equivalent: err:FORG0006
Message Text
Effective Boolean Value is undefined for variable1
Cause
The sequence cannot be converted into a boolean value using the implicit XQuery effective boolean value operation.
Response
Use a comparison, universal quantification, or otherwise to determine the correct truth for your condition.