commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] [Commented] (CSV-164) support duplicate headers
Date Sat, 21 Nov 2015 01:26:10 GMT


Gary Gregory commented on CSV-164:

I am not in favor of complicating the code to support what I consider to be garbage input.

Do you have a real-life use case?

Would it not be simpler to edit the CSV file?

IMO, this problem should be remedied by supplying your own header array to the {{CSVFormat}}
and ignoring the file's header line. I hope we support that already.

> support duplicate headers
> -------------------------
>                 Key: CSV-164
>                 URL:
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
> nothing prevents a CSV to have the same time the same header name so validation at the
end of org.apache.commons.csv.CSVFormat#validate should likely disappear or should support
a flag to disable it

This message was sent by Atlassian JIRA

View raw message