final OutputStream os = response.getOutputStream();
binary.streamBinaryTo(response.getOutputStream());
os.close();
//commit the response
response.flushBuffer();
} catch (final IOException e) {
throw (new XPathException(this, "IO exception while streaming data: " + e.getMessage(), e));
}
return (Sequence.EMPTY_SEQUENCE);