Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#6087 closed defect (fixed)

Issues with leading double quote, and missing first line, when parsing allCountries.txt

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.0.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by Even Rouault)

2 issues:

  • fields that have a double quote character inside a field completely mess up the parsing of the rest of the file
  • the first record was skipped (after a ResetReading())

Change History (3)

comment:1 by Even Rouault, 9 years ago

Description: modified (diff)

comment:2 by Even Rouault, 9 years ago

Milestone: 2.0.1
Resolution: fixed
Status: newclosed

trunk r29896, branches/2.0 r29897 "CSV: fix issues with leading single quote, and missing first line after ResetReading(), when parsing allCountries.txt (#6087)"

comment:3 by Even Rouault, 9 years ago

Description: modified (diff)
Summary: Issues with leading single quote, and missing first line, when parsing allCountries.txtIssues with leading double quote, and missing first line, when parsing allCountries.txt

trunk r29898 "Adjust test: actually the issue was a double quote character in the middle of a field (#6087)"

My diagnostic was wrong, but the fix right... The leading single quote character of a field wasn't the problem, but a double quote character in the middle of it was !

Note: See TracTickets for help on using tickets.