Thanks for reporting it. It's logged at
 
http://sourceforge.net/tracker/index.php?func=detail&aid=1842581&group_id=29872&atid=397617
 
and a patch is being placed in Subversion.
 
Michael Kay
Saxonica
 
 


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Rademacher, Gunther
Sent: 30 November 2007 14:56
To: saxon-help@lists.sourceforge.net
Subject: [saxon] XQuery "import module" lexical analysis

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 9.0.0.1J 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,
Gunther


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