[
https://issues.apache.org/jira/browse/CSV-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15019255#comment-15019255
]
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: https://issues.apache.org/jira/browse/CSV-164
> 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
(v6.3.4#6332)