> When I say that it supports the RFC I mean that the library should be > able to read any file that follows that standard. It might (and it > does) read files that do not follow the standard. Here are some > examples: > > 1) quotes can appear anywhere, not only as the first and last > character in a cell. > 2) records can be of different length. > 3) any character can be used as quote or separator. > 4) The problem you raised, i.e., that the file might end in a "quoted" > state and still be read without exceptions. > > I'll consider adding a :strict flag which would throw an exception for > points 2 and 4. However, I don't want to sacrifice performance since I > consider that to be the most important feature in any csv reading > library (people often have Gb+ sized csv files).
I appreciate your needs, mine differ a bit, in some circumstances I want strictness for the format. Ideally for my own use cases I'd like to be able to know about or reject the entire file if #4 occurs, but allow #2. I'd imagine adding in the additional logic will have some impact on performance. Regarding performance, have you considered adding a benchmarking harness to the project? Thank you for publishing the library. Regards, Kyle -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en