Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 33954
BY: Stefan Natchev (snatchev)
DATE: 2007-11-26 19:24
SUBJECT: Should FasterCSV parse malformed CSVs ?

 

I have a case where users submit csvs that sometimes have trailing commas in the header row of a csv file. This causes FasterCSV to break when trying to convert the header because of a nil element.

So my question is: should FasterCSV attempt to parse these (slightly) malformed csv documents? If not, should there be any kind of ParseExceptions being raised?


Thread View

Thread Author Date
Should FasterCSV parse malformed CSVs ?Stefan Natchev2007-11-26 19:24
      RE: Should FasterCSV parse malformed CSVs ?James Gray2007-11-26 20:13
            RE: Should FasterCSV parse malformed CSVs ?Stefan Natchev2007-11-26 20:34

Post a followup to this message