#7247 closed defect (fixed)
Error import GPX
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | gpx import | Cc: |
Description ¶
I'm used DNR-Garmin (v5.4.1) soft for creating GPX-file.
If importing (opening) this file in JOSM (v.4667) NOT open and appear error message "...error in syntax parsing file XXX.gpx. Will be opening part file..."
Version GPX from DNR-1.0. Else converting to version 1.1 file correct open in JOSM.
Change History (7)
by , 13 years ago
Attachment: | kir_tr012012_from DNR.gpx added |
---|
comment:1 by , 13 years ago
Reason is that there are <gpxx:depth> and <gpxx:temperature> fields and they are rejected due to namespace conflicts. xmllint says namespace error : Namespace prefix gpxx on depth is not defined.
This should not be handled as error, but asd warning inside JOSM.
Workaround: Replace gpxx: in the file by gpxx_.
comment:2 by , 13 years ago
Would setting the parser to non namespace aware break anything? As far as I see we disregard the namespace anyway. Just change /src/org/openstreetmap/josm/io/GpxReader.java:369 to false.
comment:6 by , 12 years ago
The problem is back again, but I leave it closed as othersoftware
/ wontfix
.
gpx-file from DNR-Garmin