#7247 closed defect (fixed)
Error import GPX
| Reported by: | berezin_geo@… | Owned by: | team |
|---|---|---|---|
| Priority: | normal | 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.
Attachments (1)
Change History (7)
Changed 16 months ago by berezin_geo@…
comment:1 Changed 16 months ago by stoecker
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 Changed 16 months ago by Gnonthgol
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:3 Changed 16 months ago by bastiK
- Resolution set to fixed
- Status changed from new to closed
In [4808/josm]:
comment:4 Changed 16 months ago by bastiK
Ok, let's try this.
comment:5 Changed 4 months ago by bastiK
In 5679/josm:
comment:6 Changed 4 months ago by bastiK
The problem is back again, but I leave it closed as othersoftware / wontfix.



gpx-file from DNR-Garmin