Opened 10 years ago

Closed 9 years ago

#2522 closed defect (wontfix)

Uploading GPX file fails with "Generic XML parse error" when the file contains letter ä

Reported by: Eero Owned by: dsilvers@…
Priority: major Milestone:
Component: website Version:
Keywords: gpx, xml Cc:

Description

I didn't test it, but maybe it also fails with other characters that are not part of English alphabets. There should be a GPX file made by Nokia Sports Tracker as an attachment.

Attachments (1)

W20091129211326.gpx (193.2 KB) - added by Eero 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Eero

Attachment: W20091129211326.gpx added

comment:1 Changed 10 years ago by Tom Hughes

Owner: changed from Tom Hughes to dsilvers@…

comment:2 Changed 9 years ago by Tom Hughes

To be fair that GPX file does lie - it claims to be UTF-8 but contains ISO-8859-1 characters.

comment:3 Changed 9 years ago by Tom Hughes

Resolution: wontfix
Status: newclosed

Indeed, running the file through "iconv -f iso-8859-1 -t utf-8" to fix it up makes it import correctly, as does editing it and changing "UTF-8" to "iso-8859-1" in the first line.

The error is coming from libxml so there isn't much we can easily do to improve it.

Note: See TracTickets for help on using tickets.