The sqlScanner (SqlScanner.java) was feeding empty
documents to the pipeline when the documentType=xml
and when no records were returned; this is corrected
and a log instance was added to some log4j logging
(debug).
The function which is corrected is "handleXmlDocuments"