[FIX] XQuery, QT3TS, max(): anyURI; lowest common numeric subtype