The XQuery 3.0 parser in Saxon 9.4 fails to handle a FLWOR 'window' clause in which the keyword 'when' is immediately followed by a left-parenthesis - the construct is mistaken for a function call.
A patch will be added to Subversion.
Fixed in 22.214.171.124
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.