[FIX] XQuery, QT3TS: static check of duplicate attribute names