Closed Twilight-Shuxin closed 1 year ago
Given this XML document:
<F/>
and XPath Query
/F[(distinct-values(. ! (boolean(.), . = <A/>)) ! count(.)) castable as xs:boolean]
BaseX throws exception: java.io.IOException: Stopped at C:/BaseX/BaseXSource/basex/, 1/42: [FORG0001] Cannot convert element() to xs:boolean: .
Should execute successfully,
create database test <F/>
xquery /F[(distinct-values(. ! (boolean(.), . = <A/>)) ! count(.)) castable as xs:boolean]
No response
BaseX version: BaseX 10.7 beta latest commit 081fb4d on Windows
@Twilight-Shuxin All bugs have been fixed. Thanks again for providing us with such valuable feedback!
Thank you too for such a quick fix!
Description of the Problem
Given this XML document:
and XPath Query
BaseX throws exception: java.io.IOException: Stopped at C:/BaseX/BaseXSource/basex/, 1/42: [FORG0001] Cannot convert element() to xs:boolean: .
Expected Behavior
Should execute successfully,
Steps to Reproduce the Behavior
create database test <F/>
xquery /F[(distinct-values(. ! (boolean(.), . = <A/>)) ! count(.)) castable as xs:boolean]
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