In the Saxon implementation of XQJ, the method XQDataFactory.createItemFromObject() does not correctly handle a DOM Node supplied as the object value. In fact, it returns null in this case.
This method is called internally by a number of other user-visible methods.
A workaround is to wrap the DOM Node in a JAXP DOMSource object.
A patch is being placed in Subversion.