Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 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@… 15 years ago.
simple load/parse/save xml
test.gpx (1.3 KB ) - added by anonymous 15 years ago.
test2.gpx (1.5 KB ) - added by anonymous 15 years ago.
0001-GPX-Import-Make-the-SAX-Parser-Factory-namespace-aw.patch (1.9 KB ) - added by anonymous 15 years ago.

Download all attachments as: .zip

Change History (7)

by chris.bainbridge@…, 15 years ago

Attachment: go.py added

simple load/parse/save xml

by anonymous, 15 years ago

Attachment: test.gpx added

by anonymous, 15 years ago

Attachment: test2.gpx added

comment:1 by mcdmx@…, 15 years ago

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 by anonymous, 15 years ago

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

comment:3 by anonymous, 15 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.