BaseXdb / basex

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

Variable declaration with context item reference #2124

Closed ChristianGruen closed 2 years ago

ChristianGruen commented 2 years ago
declare context item := 2;
declare variable $pos := .;
'X'[$pos]

Returned: 2, expected: empty sequence.

Background: X is bound to $pos (instead of 2).

ChristianGruen commented 2 years ago

Will be fixed with BaseX 10