#basex — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #basex, aggregated by home.social.
-
Just for say, BaseX 12.3 is out, et c’est de la bombe ! In particular, the new XPath syntax for JSON and InvisibleXML. So good. #xquery #json #invisibleXML #basex
https://basex.org/2026/04/16/basex-12.3/ -
XQuery & XPath users, watch out - i spent a day debugging!
Turns out in BaseX & i think XPath 4 (upcoming), `else` clauses are optional.
This is unexpected in an expression language -
`let $name := if ($p) then get-name($p)
return some-func($name)`is the same as
`let $name := if ($p) then get-name($p) else ( )
return some-func($name)`but in a multi-screen if/then/else it’s more likely you just forgot the else() or mismatched some parens.