[ 
https://issues.apache.org/jira/browse/CSV-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864038#comment-16864038
 ] 

Gary Gregory commented on CSV-228:
----------------------------------

We will need a reproducible test case, preferably in the form of a PR. See also 
{{org.apache.commons.csv.CSVFormat.withIgnoreSurroundingSpaces(boolean)}}

> CSVParser extracts columns wrong in case of space before quoted col name with 
> comma
> -----------------------------------------------------------------------------------
>
>                 Key: CSV-228
>                 URL: https://issues.apache.org/jira/browse/CSV-228
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.4
>            Reporter: Artemii Chugreev
>            Priority: Minor
>
> CSV header is something like
> col name 1, "col name 2, with comma", col name 3
> CSVParser#getHeadersMap returns 4 columns, because of space before second 
> column name which breaks quoting



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to