Here's the commons-csv bug for those who want to follow along:

http://issues.apache.org/jira/browse/SANDBOX-206

-Yonik

On Jan 4, 2008 12:03 PM, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> On 04.01.2008 17:35 Walter Underwood wrote:
>
> > I recommend the opencsv library for Java or the csv package for Python.
> > Either one can write legal CSV files.
> >
> > There are lots of corner cases in CSV and some differences between
> > applications, like whetehr newlines are allowed inside a quoted field.
> > It is best to use a library for this instead of hacking at it.
>
> I agree that it is best to use a library and I will eventually but in my
> case this wouldn't help since the CSV _is_ legal (at least in my later
> examples).
> In one case it seems to be a bug in the SOLR CSV parser (\"" is legal
> but gives an error).
> In the other case the same file works if sent as post data but doesn't
> if given as a local file. If it wasn't legal the post data version would
> fail too.
>
> -Michael
>
> p.s.: I filed the bug report, Yonik.
>
>

Reply via email to