[ https://issues.apache.org/jira/browse/CSV-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020662#comment-15020662 ]
Michael Osipov commented on CSV-164: ------------------------------------ I understand your usecase and your crappy $$$ output. It looks like the output needs a pivot ;-) Just looked at the source code of CSV and it needs a rewrite. All current code relies on unique headers or maps. That just won't work. What about Gary's idea? Skip header parsing and use indexes. That should work. Or use a transforming reader for the first line which adds indexes to duplicate headers and passes the rest? > 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)