[
https://issues.apache.org/jira/browse/CSV-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238630#comment-13238630
]
Emmanuel Bourg commented on CSV-77:
-----------------------------------
DEFAULT follows RFC 4180 for printing. For parsing it makes a convenient choice
that is unspecified by the RFC, but I think it's in line with the
interoperability considerations at the end of the specification:
bq. Due to lack of a single specification, there are considerable differences
among implementations. Implementors should "be conservative in what you do, be
liberal in what you accept from others" when processing CSV files.
> RFC 4180 (DEFAULT) format is wrong; should not ignore spaces or blank lines
> ---------------------------------------------------------------------------
>
> Key: CSV-77
> URL: https://issues.apache.org/jira/browse/CSV-77
> Project: Commons CSV
> Issue Type: Bug
> Reporter: Sebb
>
> According to the RFC [1]:
> Section 2.4
> {quote}
> ... Spaces are considered part
> of a field and should not be ignored.
> {quote}
> Also, the RFC does not mention that blank lines are to be ignored.
> However, some of the alternate CSV "specifications" referenced by RFC 4180 do
> say that spaces are ignored.
> I've not yet found a mention to say that blank lines are to be ignored.
> [1] http://tools.ietf.org/html/rfc4180
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira