BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
661 stars 268 forks source link

XQuery: EBV tests, rewriting to descendant::text() #2182

Closed ChristianGruen closed 1 year ago

ChristianGruen commented 1 year ago
boolean(<a><b>x</b></a>/*[@nr = 0]/string())

Predicate gets lost in optimized expression:

exists(<a><b>x</b></a>/*/descendant::text())