You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/08/23 01:24:16 UTC
[jira] [Comment Edited] (CSV-127) Ignore Empty Lines doesn't ignore
empty first line
[ https://issues.apache.org/jira/browse/CSV-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107693#comment-14107693 ]
Gary Gregory edited comment on CSV-127 at 8/22/14 11:23 PM:
------------------------------------------------------------
What are you suggesting? A skip empty lines setting?
was (Author: garydgregory):
What are suggesting? A skip empty lines setting?
> Ignore Empty Lines doesn't ignore empty first line
> --------------------------------------------------
>
> Key: CSV-127
> URL: https://issues.apache.org/jira/browse/CSV-127
> Project: Commons CSV
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Cody Lerum
>
> If parsing a file which has an empty first line and then a header row the empty first line is treated as the header row.
> Parser created like
> {code}
> CSVParser csvParser = new CSVParser(reader, CSVFormat.DEFAULT.withHeader().withIgnoreSurroundingSpaces(true));
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)