You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2013/12/17 23:12:08 UTC

[jira] [Updated] (CSV-102) Commons CSV does not properly handle record separators

     [ https://issues.apache.org/jira/browse/CSV-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated CSV-102:
-------------------------------

    Attachment: nonstandard.patch

This is a small unit test (along with data file) to test these changes.

As I'm completely clueless about Maven, I haven't been able to add this test to the "mvn test" suite yet, but it does compile....

> Commons CSV does not properly handle record separators
> ------------------------------------------------------
>
>                 Key: CSV-102
>                 URL: https://issues.apache.org/jira/browse/CSV-102
>             Project: Commons CSV
>          Issue Type: Bug
>    Affects Versions: 1.x
>         Environment: ALL
>            Reporter: Oliver Oyston
>            Priority: Minor
>         Attachments: Changes.patch, nonstandard.patch
>
>
> Any specified record separator appear to be ignored and the code just assumes that standard line endings are the record delimiters.
> I have a patch to partly address the problems that 'falls back' to the current behavior. The patch only allow a maximum of a one character record separator.
> The approach needs verifying and also needs improving to be more generic.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)