Re: How to avoid stumbling over empty lines in csv data loader

Daniel Dekany <[email protected]> Sun, 26 Feb 2006 00:04:48 +0100
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
Saturday, February 25, 2006, 7:49:36 PM, Ralf Hauser wrote:

> Hi,
>
> My CSV file sometimes ends with a few empty extra lines.
> This causes fmpp to print the following error:
>
> <<Caused by: freemarker.core.InvalidReferenceException: Expression
> d[x] is undefined on line 29, column 70 in sql.fdd.>>

CSV file? Sorry... recently somehow I believed it's about an FTL file.

So, yes, empty lines mean empty (missing) cells. I guess I should add
an ignoreTrailingEmptyLines option to the CVS data loader. Certainly I
will have chance to look into this next week.

-- 
Best regards,
 Daniel Dekany



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642