commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-77) RFC 4180 (DEFAULT) format is wrong; should not ignore spaces or blank lines
Date Mon, 26 Mar 2012 17:52:28 GMT

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

Sebb commented on CSV-77:
-------------------------

I agree that ignoring blank lines is probably better than returning empty records.

However RFC 4180 does not allow blank lines.
So it is wrong to equate DEFAULT with RFC 4180.
                
> 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

        

Mime
View raw message