[FIX] XQuery, QT3TS: minor fixes
[FIX] XQuery, QT3TS: named-function-ref-reserved-function-names