3 ms·
BaseX is great. It's impressive what the single developer has achieved and improved over many years already. At NLnet, my employer, we use it to generate our mo
by oever 2y ago
BaseX is great. It's impressive what the single developer has achieved and improved over many years already. At NLnet, my employer, we use it to generate our mostly static website. Since it produces well-formed XML as output, there is no possibility of undetected nesting errors due to typos. XQuery is a functional language so it's simpler to reason about the code: variables are immutable.
An area of improvement would be type checking. XQuery allows defining types via XML Schema, but there is no mature open source implementation that can check the types on each function. BaseX does support validation ad-hoc by calling a validation function explicitly.
- thechao 2y agoI've been a fan of XML tech for ~years~ decades (dang). But, let's be honest, most of this stuff should've been thought-technology, not a fixed implementation. Like, I have a decorator based Python library that passes values by-copy, enforcing a sort of local immutability, and also offering all of the pattern-matching capabilities of XSL, but in Python. I can extend the pattern matching with arbitrary Python functions.