XQuery and XPath subscripting

Today I took a long time, together with folks from the eXist-DB Community (thanks Luca Guariento and line0 for the brainstorming), to figure out why a function was receiving a node sequence instead of a single node. The question was why using this code was not working: And fn:lower-case was complaining for receiving a sequence […]