Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#1702 closed defect (fixed)

[PATCH] josm won't load valid xml gpx file

Reported by: anonymous Owned by: framm
Priority: minor Component: unspecified
Version: Keywords:
Cc:

Description

using version 0.0.0.20080330-1

I use python to load the xml and save it back out - no transforms, so functionally the xml should be identical even if it's serialised differently. Python load/save script is:

I'll attach the test.gpx file (which josm loads fine) and the test2.gpx file (which should be identical, but doesn't load). Note that there's no error, josm just doesn't find any tracks in the file.

Attachments (4)

go.py (135 bytes) - added by chris.bainbridge@… 5 years ago.
simple load/parse/save xml
test.gpx (1.3 KB) - added by anonymous 5 years ago.
test2.gpx (1.5 KB) - added by anonymous 5 years ago.
0001-GPX-Import-Make-the-SAX-Parser-Factory-namespace-aw.patch (1.9 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by chris.bainbridge@…

simple load/parse/save xml

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by mcdmx@…

  • Summary changed from josm won't load valid xml gpx file to [PATCH] josm won't load valid xml gpx file

I just attached a patch that should fix the problem.

comment:2 Changed 5 years ago by anonymous

Thanks, the patch seems to work. Hope to see it in mainline josm soon.

comment:3 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1122.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.