[FIX] XQuery, QT3TS: casting errors updated
[FIX] XQuery, QT3TS: QName casts