Opened 13 years ago
Closed 13 years ago
#3782 closed defect (fixed)
CSV driver reads empty lines at end of file
|Reported by:||andersmoe||Owned by:||warmerdam|
|Severity:||normal||Keywords:||csv, empty lines, features|
The CSV driver will treat empty lines at the end of the file as features.
This pertains to trunk as of 7-JUNE-2010.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I think it would be better to just skip completely empty lines.
comment:3 by , 13 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
Knowning if an empty line is at the end of the file is hard, so I'd just stop reading the file at the first empty line encountered. Are empty lines expected to be found at the middle of the file ?
Proposed patch :