Saxon runs all the XQuery Use Cases with the exception of the STRONG use case, which as previously published by W3C contains too many errors to be viable (the new version published on 11 February 2005 should fix this).
The relevant queries (some of which have been corrected from those published by W3C) are included
in the Saxon distribution (folder use-cases
) together with a batch script for running them.
A few additional use cases have been added to show features that would otherwise not be exercised.
Also included in the distribution is a query samples/query/tour.xq
. This is a query that
generates a knight's tour of the chessboard. It is written as a demonstration of recursive functional
programming in XQuery. It requires no input document. You need to supply a parameter on the command
line indicating the square where the knight should start, for example start=h8
. The output
is an HTML document.