private static class TestH implements Test {
public String name() {
return "TestH";
}
public void run() throws XQException {
XQDataSource ds = new SaxonXQDataSource();
XQConnection conn = ds.getConnection();
XQPreparedExpression exp = conn.prepareExpression(
"(1, 'peach', xs:date('1951-10-11'), xs:duration('PT5M'), 93.7e0, '<the end>')");
XQResultSequence result = exp.executeQuery();
XMLStreamReader reader = result.getSequenceAsStream();