msmitherdc / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

CsvParser should sanity check feature-id, style-id #147

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
CsvParser will accept the following as valid:

feature-id,latitude,longitude,style-id
hi there,1,2,how are you?

both feature-id and style-id are constrained by xmlid valid chars
and url valid chars respectively

ideally CsvParser flags this as something like CSV_PARSER_STATUS_BAD_ID
or *_BAD_FEATURE_ID, *_BAD_STYLE_ID

Original issue reported on code.google.com by b...@google.com on 28 Apr 2010 at 5:10