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

Jason A. Guild updated CSV-263:
-------------------------------
    Attachment: fix-print-quoted-from-reader.patch
                fix-print-quoted-from-reader-tests.patch

> Print from Reader with embedded quotes generates incorrect output
> -----------------------------------------------------------------
>
>                 Key: CSV-263
>                 URL: https://issues.apache.org/jira/browse/CSV-263
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Printer
>    Affects Versions: 1.8
>            Reporter: Jason A. Guild
>            Priority: Minor
>         Attachments: fix-print-quoted-from-reader-tests.patch, 
> fix-print-quoted-from-reader.patch
>
>
> I have found a problem in v1.8 where output with embedded quotes supplied 
> from Reader is incorrectly escaping. When data read from the Reader starts 
> with an embedded quote, output quote escaping is unbalanced and cannot be 
> subsequently parsed/loaded.
> Subsequent embedded quotes are correctly escaped.
> input data:
> {{"A" ASKED "B" ANOTHER QUESTION.}}
> output:
> {{""""A"" ASKED ""B"" ANOTHER QUESTION."}}
> expected output:
> {{"""A"" ASKED ""B"" ANOTHER QUESTION."}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to