Problem Statement
xq doesn't handle XPath boolean results properly, typically used to test a node existence.
Steps to Reproduce
echo -n '<?xml version="1.0"?><root></root>' | xq -x 'boolean(//root)'
Actual Result
Error: unknown type error: true
Expected Result
Problem Statement
xq doesn't handle XPath boolean results properly, typically used to test a node existence.
Steps to Reproduce
Actual Result
Expected Result
true