Le 26/03/2013 15:24, Gary Gregory a écrit :

> Why is a CSVFormat newBuilder() NOT the RFC? Since the RFC is the only
> 'public standard', why not use that? If not, or why not use a well known
> format like Excel. I am just wondering why we are picking what looks like
> an arbitrary set of values which is the RFC with the empty lines set to
> false.

Because CSV is a land full of arbitrary stuff :) RFC 4180 is not a
standard, it is merely an informational RFC. Other RFCs in this category
include these pearls:

  UTF-9 and UTF-18 Efficient Transformation Formats of Unicode
  https://tools.ietf.org/html/rfc4042

  Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
  https://tools.ietf.org/html/rfc2324

  Electricity over IP
  https://tools.ietf.org/html/rfc3251

I took another look at RFC 4180 and it's not clear to me how the empty
lines are supposed to be handled, this case is not explicitly mentioned.
Considering that it's better not to lose information when parsing I'm
inclined to think that empty lines shouldn't be thrown out by default.

Emmanuel Bourg


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to