BaseXdb / basex

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

XQuery, built-in functions: Better error messages #2165

Closed ChristianGruen closed 9 months ago

ChristianGruen commented 1 year ago

The parameter names could be included in the error messages of static function calls. For example, the error message…

Cannot convert to xs:double: y.

…for the function call…

substring('x', 'y')

…could be changed to:

Cannot convert to xs:double: start := y.
ChristianGruen commented 9 months ago

Dropped (much refactoring, little added value).