Easy to work around, but...

apparently keywords are prioritized before NCName when tokenizing the
namespace prefix of an XQuery module import statement. I found that
this is rejected by Saxon with a syntax error:

        import module namespace gt="some-uri" at "some-other-uri";

however I believe it should be accepted. A corresponding namespace
or module declaration using the same prefix does not show this problem.

Best regards,

Software AG – Sitz/Registered office: Uhlandstraße 12, 64297 Darmstadt, Germany, – Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/ Management Board: Karl-Heinz Streibich (Vorsitzender/Chairman), David Broadbent, Mark Edwards, Dr. Peter Kürpick, David Mitchell, Arnd Zinnhardt; - Aufsichtsratsvorsitzender/ Chairman of the Supervisory Board: Frank F. Beelitz - http://www.softwareag.com