Skip to main content

Common Format and MIME Type for Comma-Separated Values (CSV) Files
draft-shafranovich-mime-csv-05

Revision differences

Document history

Date Rev. By Action
2012-08-22
05 (System) post-migration administrative database adjustment to the No Objection position for Bill Fenner
2012-08-22
05 (System) post-migration administrative database adjustment to the No Objection position for Brian Carpenter
2012-08-22
05 (System) post-migration administrative database adjustment to the No Objection position for Russ Housley
2005-04-07
05 Amy Vezza State Changes to RFC Ed Queue from Approved-announcement sent by Amy Vezza
2005-04-06
05 Amy Vezza IESG state changed to Approved-announcement sent
2005-04-06
05 Amy Vezza IESG has approved the document
2005-04-06
05 Amy Vezza Closed "Approve" ballot
2005-04-06
05 Scott Hollenbeck State Changes to Approved-announcement to be sent from IESG Evaluation::AD Followup by Scott Hollenbeck
2005-04-06
05 Bill Fenner [Ballot Position Update] Position for Bill Fenner has been changed to No Objection from Discuss by Bill Fenner
2005-04-06
05 Michelle Cotton IANA Comments:
Upon approval the IANA will register a new MIME Media Type.
2005-04-05
05 (System) New version available: draft-shafranovich-mime-csv-05.txt
2005-04-04
05 (System) Sub state has been changed to AD Follow up from New Id Needed
2005-04-04
04 (System) New version available: draft-shafranovich-mime-csv-04.txt
2005-04-01
05 (System) Removed from agenda for telechat - 2005-03-31
2005-03-31
05 Amy Vezza [Ballot Position Update] Position for Brian Carpenter has been changed to No Objection from Discuss by Amy Vezza
2005-03-31
05 Amy Vezza State Changes to IESG Evaluation::Revised ID Needed from IESG Evaluation by Amy Vezza
2005-03-31
05 Bill Fenner
[Ballot discuss]
ABNF questions:

- VCHAR includes DQUOTE in the range, so

escaped = DQUOTE *( VCHAR / CR / LF / CRLF / 2*DQUOTE …
[Ballot discuss]
ABNF questions:

- VCHAR includes DQUOTE in the range, so

escaped = DQUOTE *( VCHAR / CR / LF / CRLF / 2*DQUOTE ) DQUOTE

could be '"""' (DQUOTE + %x22-as-VCHAR + DQUOTE)

- Spaces are not permitted in the grammar at all.  I don't think that's intended.

- Are non-quoted fields permitted to contain quotes, e.g.,
aaa,bbb,foo"bar,ccc
or does this have to be
aaa,bbb,"foo""bar",ccc ?

If spaces are allowed in unquoted strings, but quotes are not, then you could do

escaped = DQUOTE *( FOO / CR / LF / CRLF / 2DQUOTE ) DQUOTE
non-escaped = *FOO
FOO = %x20-21 / %x23-7E

where someone else can come up with a better name for FOO.  Since it's changing the definition from 2234's VCHAR it's probably not good to keep it named VCHAR.

...oops, and I just noticed that 2*DQUOTE also makes it ambiguous - that would allow "abc"""123", which doesn't fit the text description; I think it should just be 2DQUOTE.


[Re the other review mentioning COMMA inside escaped; VCHAR (and FOO) include COMMA]
2005-03-31
05 Mark Townsley [Ballot Position Update] Position for Mark Townsley has been changed to No Objection from Undefined by Mark Townsley
2005-03-31
05 Mark Townsley [Ballot comment]
I certainly think the bugs pointed out by Bill and Brian should be fixed, but have no further objection once they are.
2005-03-31
05 Mark Townsley [Ballot Position Update] New position, Undefined, has been recorded for Mark Townsley by Mark Townsley
2005-03-31
05 Bill Fenner
[Ballot discuss]
ABNF questions:

- VCHAR includes DQUOTE in the range, so

escaped = DQUOTE *( VCHAR / CR / LF / CRLF / 2*DQUOTE …
[Ballot discuss]
ABNF questions:

- VCHAR includes DQUOTE in the range, so

escaped = DQUOTE *( VCHAR / CR / LF / CRLF / 2*DQUOTE ) DQUOTE

could be '"""' (DQUOTE + %x22-as-VCHAR + DQUOTE)

- Spaces are not permitted in the grammar at all.  I don't think that's intended.

- Are non-quoted fields permitted to contain quotes, e.g.,
aaa,bbb,foo"bar,ccc
or does this have to be
aaa,bbb,"foo""bar",ccc ?

If spaces are allowed in unquoted strings, but quotes are not, then you could do

escaped = DQUOTE *( FOO / CR / LF / CRLF / 2*DQUOTE ) DQUOTE
non-escaped = *FOO
FOO = %x20-21 / %x23-7E

where someone else can come up with a better name for FOO.  Since it's changing the definition from 2234's VCHAR it's probably not good to keep it named VCHAR.


[Re the other review mentioning COMMA inside escaped; VCHAR (and FOO) include COMMA]
2005-03-31
05 Bill Fenner [Ballot Position Update] New position, Discuss, has been recorded for Bill Fenner by Bill Fenner
2005-03-30
05 David Kessens [Ballot Position Update] New position, No Objection, has been recorded for David Kessens by David Kessens
2005-03-29
05 Russ Housley [Ballot Position Update] Position for Russ Housley has been changed to No Objection from Discuss by Russ Housley
2005-03-28
05 Russ Housley
[Ballot discuss]
How does the recipient know whether the header line will be
  present or not?  Section 2 says that the first line can …
[Ballot discuss]
How does the recipient know whether the header line will be
  present or not?  Section 2 says that the first line can be:

    field_name,field_name,field_name CRLF

  Perhaps a MIME parameter is needed to indicate the presence
  of this line.
2005-03-28
05 Russ Housley [Ballot Position Update] New position, Discuss, has been recorded for Russ Housley by Russ Housley
2005-03-27
05 Brian Carpenter
[Ballot discuss]
Based on review by Joel Halpern:

This document is nearly ready for publication as an Informational RFC.
There is one small apparent BNF …
[Ballot discuss]
Based on review by Joel Halpern:

This document is nearly ready for publication as an Informational RFC.
There is one small apparent BNF bug, one question, and one clarificaiton.

The BNF for 'escaped" does not list COMMA in the characters that can be included in the double-quoted string.  The early text (and common sense) indicates that comma needs to be able to appear there.  (Note also that the CRLF in the list of permitted characters is redundant given that CR and LF already appear.  Just change that to COMMA.)

I am not clear as to whether an Informational document can be used to create an IETF tree MIME type.  RFC 2048 says "RFC publication" which this clearly is.  It also says "requires standards-track processing" which this clearly is not.

Also, if the option of a header line is going to be described, then the text ought to indicate that recognition or expectation of such a header line is an application specific or local matter not covered by the format definition.  (There is no way for a computer to tell looking at CSV content according to these rules whether the first line is header or content.)

Yours,
Joel M. Halpern
2005-03-27
05 Brian Carpenter
[Ballot discuss]
Based on review by Joel Halpern:

This document is nearly ready for publication as an Informational RFC.
There is one small apparent BNF …
[Ballot discuss]
Based on review by Joel Halpern:

This document is nearly ready for publication as an Informational RFC.
There is one small apparent BNF bug, one question, and one clarificaiton.

The BNF for 'escaped" does not list COMMA in the characters that can be included in the double-quoted string.  The early text (and common sense) indicates that comma needs to be able to appear there.  (Note also that the CRLF in the list of permitted characters is redundant given that CR and LF already appear.  Just change that to COMMA.)

I am not clear as to whether an Informational document can be used to create an IETF tree MIME type.  RFC 2048 says "RFC publication" which this clearly is.  It also says "requires standards-track processing" which this clearly is not.

Also, if the option of a header line is going to be described, then the text ought to indicate that recognition or expectation of such a header line is an application specific or local matter not covered by the format definition.  (There is no way for a computer to tell looking at CSV content according to these rules whether the first line is header or content.)

Yours,
Joel M. Halpern
2005-03-27
05 Brian Carpenter [Ballot Position Update] New position, Discuss, has been recorded for Brian Carpenter by Brian Carpenter
2005-03-24
03 (System) New version available: draft-shafranovich-mime-csv-03.txt
2005-03-22
05 Scott Hollenbeck [Ballot Position Update] New position, Yes, has been recorded for Scott Hollenbeck
2005-03-22
05 Scott Hollenbeck Ballot has been issued by Scott Hollenbeck
2005-03-22
05 Scott Hollenbeck Created "Approve" ballot
2005-03-22
05 Scott Hollenbeck State Changes to IESG Evaluation from Waiting for AD Go-Ahead by Scott Hollenbeck
2005-03-22
05 Scott Hollenbeck Placed on agenda for telechat - 2005-03-31 by Scott Hollenbeck
2005-03-21
05 (System) State has been changed to Waiting for AD Go-Ahead from In Last Call by system
2005-02-21
05 Amy Vezza Last call sent
2005-02-21
05 Amy Vezza State Changes to In Last Call from Last Call Requested by Amy Vezza
2005-02-20
05 Scott Hollenbeck Last Call was requested by Scott Hollenbeck
2005-02-20
05 Scott Hollenbeck State Changes to Last Call Requested from AD Evaluation::AD Followup by Scott Hollenbeck
2005-02-20
05 (System) Ballot writeup text was added
2005-02-20
05 (System) Last call text was added
2005-02-20
05 (System) Ballot approval text was added
2005-02-18
05 (System) Sub state has been changed to AD Follow up from New Id Needed
2005-02-18
02 (System) New version available: draft-shafranovich-mime-csv-02.txt
2005-02-18
05 Scott Hollenbeck State Changes to AD Evaluation::Revised ID Needed from AD Evaluation by Scott Hollenbeck
2005-02-18
05 Scott Hollenbeck
AD evaluation comments: there are a few minor errors in the BNF.  The DQUOTE and VCHAR atoms are undefined.  VCAR is probably supposed to be …
AD evaluation comments: there are a few minor errors in the BNF.  The DQUOTE and VCHAR atoms are undefined.  VCAR is probably supposed to be VCHAR.  Please either define DQUOTE or import the definition from RFC 2234.
2005-02-18
05 Scott Hollenbeck State Changes to AD Evaluation from Publication Requested by Scott Hollenbeck
2005-02-18
05 Scott Hollenbeck Draft Added by Scott Hollenbeck in state Publication Requested
2005-02-17
01 (System) New version available: draft-shafranovich-mime-csv-01.txt
2005-02-03
00 (System) New version available: draft-shafranovich-mime-csv-00.txt