Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1702 closed defect (fixed)

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

Reported by: anonymous Owned by: framm
Priority: minor Milestone:
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@… 11 years ago.
simple load/parse/save xml
test.gpx (1.3 KB) - added by anonymous 11 years ago.
test2.gpx (1.5 KB) - added by anonymous 11 years ago.
0001-GPX-Import-Make-the-SAX-Parser-Factory-namespace-aw.patch (1.9 KB) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by chris.bainbridge@…

Attachment: go.py added

simple load/parse/save xml

Changed 11 years ago by anonymous

Attachment: test.gpx added

Changed 11 years ago by anonymous

Attachment: test2.gpx added

comment:1 Changed 11 years ago by mcdmx@…

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

I just attached a patch that should fix the problem.

comment:2 Changed 11 years ago by anonymous

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

comment:3 Changed 11 years ago by anonymous

Resolution: fixed
Status: newclosed

Fixed in r1122.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.