StringBuffer XMLresult = new StringBuffer("");
// Current version of CSVParser, does not use csvLineSeparatorChar parameter
CSVReader csvReader = new CSVReader(
new StringReader(data),
csvRecordSeparatorChar,
csvQuoteChar);
try {
csvResult = csvReader.records();
} catch(CSVFormatException e) {
logger.logMessage("Invalid data detected while reading CSV table, aborting", this, MessageLogger.ERROR);
PipeComponentUtils.failTransfer();
} catch(IOException e) {
logger.logMessage("IOException while reading CSV table, aborting", this, MessageLogger.ERROR);