Closed Twilight-Shuxin closed 1 year ago
Given this XML document:
<T id="1" a="1" b="1"/>
and XPath Query
boolean(count(//*[@id="1"] ! (@a, @b)))
BaseX throws exception: [XPTY0019] (@a | @b): node expected, xs:boolean found: true().
Should return true as Saxon and eXist-DB.
create database test <T id="1" a="1" b="1"/>
xquery boolean(count(//*[@id="1"] ! (@a, @b)))
No response
BaseX version: BaseX 10.7 beta latest commit 081fb4d on Windows
Thanks for all the bug reports. I'll look at them in around 10 days. Keep on going ;)
@ChristianGruen Thanks a lot! :)
Description of the Problem
Given this XML document:
and XPath Query
BaseX throws exception: [XPTY0019] (@a | @b): node expected, xs:boolean found: true().
Expected Behavior
Should return true as Saxon and eXist-DB.
Steps to Reproduce the Behavior
create database test <T id="1" a="1" b="1"/>
xquery boolean(count(//*[@id="1"] ! (@a, @b)))
Do you have an idea how to solve the issue?
No response
What is your configuration?
BaseX version: BaseX 10.7 beta latest commit 081fb4d on Windows