RFC Errata
Found 5 records.
Status: Verified (1)
RFC 4180, "Common Format and MIME Type for Comma-Separated Values (CSV) Files", October 2005
Note: This RFC has been updated by RFC 7111
Source of RFC: IETF - NON WORKING GROUPArea Assignment: app
Errata ID: 5714
Status: Verified
Type: Editorial
Publication Format(s) : TEXT
Reported By: Damon Koach
Date Reported: 2019-05-01
Verifier Name: Barry Leiba
Date Verified: 2019-05-01
Section 5, 6 says:
Section 5: "aaa","bbb","ccc" CRLF Section 6: "aaa","b CRLF bb","ccc" CRLF zzz,yyy,xxx
It should say:
Section 5: "aaa","bbb","ccc"CRLF Section 6: "aaa","b CRLF bb","ccc"CRLF zzz,yyy,xxx
Notes:
As implied in the ABNF grammar, escaped (quoted) fields may not be followed by a space.
The corrected text removes those spaces from the examples, making them syntactically correct.
Status: Reported (4)
RFC 4180, "Common Format and MIME Type for Comma-Separated Values (CSV) Files", October 2005
Note: This RFC has been updated by RFC 7111
Source of RFC: IETF - NON WORKING GROUPArea Assignment: app
Errata ID: 5345
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Abed BenBrahim
Date Reported: 2018-04-30
Section 2 says:
6. Fields containing line breaks (CRLF), double quotes, and commas should be enclosed in double-quotes.
It should say:
6. Fields containing line breaks (CRLF), double quotes, and commas must be enclosed in double-quotes.
Notes:
CSV is clearly unparsable if commas are not enclosed in double quotes.
Errata ID: 6230
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Marco Diniz Sousa
Date Reported: 2020-07-13
Section 2 says:
The last record in the file may or may not have an ending line break. file = [header CRLF] record *(CRLF record) [CRLF]
It should say:
The last record in the file must have an ending line break. file = [header CRLF] record *(CRLF record) CRLF
Notes:
The grammar seems to be ambiguous in the case below:
- Records have just one field;
- The last record may have an empty value.
File:
---
header1CRLF
aCRLF
bCRLF
EOF
---
In the file above, we do not know if we have four records (header1, a, b and an empty value) with the last record not ending with a line break; or if we have three records (header1, a and b) with the last record ending with a line break.
The grammar allows empty fields:
non-escaped = *TEXTDATA
According to RFC 2234:
"Default values are 0 and infinity so that *<element> allows any number, including zero;"
Errata ID: 7572
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Robert Hairgrove
Date Reported: 2023-07-24
Section 7.2 Informative Ref says:
[4] Repici, J., "HOW-TO: The Comma Separated Value (CSV) File Format", 2004, <http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm>.
It should say:
[4] Repici, J., "HOW-TO: The Comma Separated Value (CSV) File Format", 2004-2010, <https://www.creativyst.com/Doc/Articles/CSV/CSV01.shtml>.
Notes:
Suggested corrected text updates the link which uses the TLS-conforming URL for the creativyst.com site and the date range of publication. It seems that some browsers might not cleanly redirect to the HTTPS address.
Errata ID: 5593
Status: Reported
Type: Editorial
Publication Format(s) : TEXT
Reported By: Greg Skinner
Date Reported: 2019-01-06
Section 2 says:
There maybe an optional header line appearing as the first line of the file with the same format as normal record lines.
It should say:
There may be an optional header line appearing as the first line of the file with the same format as normal record lines.
Notes:
fixed spelling error