> Saxon appears to be incorrectly implementing the XSLT > semantics here rather > than the XQuery semantics. It turns out this bug is already fixed in my current development build. Michael Kay http://www.saxonica.com/