Description
The CSV-Parser ignores whitespaces at the beginning of a token. If the delimiter is a tabspace and data has no encapsulator the parser loses the empty tokens. The parser should never recognize a delimiter as a whitespace. A possible solution for the class CSVParser is to change the method isWhitespace(int) :
private boolean isWhitespace(int c)
{ return Character.isWhitespace((char) c) && (c != strategy.getDelimiter()); }