commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <>
Subject [jira] Commented: (LANG-374) Add escaping for CSV columns to StringEscapeUtils
Date Thu, 06 Dec 2007 09:31:43 GMT


Niall Pemberton commented on LANG-374:

The same argument could also be made for the other "escape" methods in Lang - for example
you could make the same argument about an XML parser/writer. I believe if these other escape
methods are "in scope" for Lang then this one is as well and the fact that people *might*
request more shouldn't be used as a reason to rule it out and any pressure to provide a full
blown Csv parser is easily resisted.

The use case, like all the other escape methods I imagine, is to write properly escaped values
when creating a CSV file. While some scenarios will need/want a full blown CSV parser/writer
for others (such as mine) it is overkill and simple escape support is sufficient.

On Sebbs proposal to make it more generic - I don't have a need for it, but if he wants to
commit that change then I have no problem with that.

> Add escaping for CSV columns to StringEscapeUtils
> -------------------------------------------------
>                 Key: LANG-374
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.4
>         Attachments: Lang-374-escapeCsv-v2.patch, LANG-374-escapeDelimited.patch, StringEscapeUtils_v3.patch,
> Add escaping for CSV columns to StringEscapeUtils.
> Further information on CSV columns available here:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message