Thanks, Gunther, now fixed. I think it can potentially occur for any direct reference to access an item in a sequence beyond the last one.
Michael Kay

From: [] On Behalf Of Rademacher, Gunther
Sent: 13 October 2007 15:16
Subject: [saxon] NPE in

After switching to Saxon, I have received a NullPointerException
with positioned access beyond the end of the "following" axis, e.g as in


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 -