shigeki7299 / geopaparazzi

Automatically exported from code.google.com/p/geopaparazzi
0 stars 0 forks source link

Sanitization #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add a text note with an ampersand like "Sport & Game", and the track will not 
be parsed.
Should convert to xml (html?) entities?

Original issue reported on code.google.com by saba...@gmail.com on 1 Mar 2013 at 7:31

GoogleCodeExporter commented 8 years ago
Hi, I am not sure what you mean here?

I tried to find that in the OSM tags but there is none.

I tried to create a new textnote and export it for example to kmz and it works 
properly.

Can you explain me better how to reproduce it?

Original comment by andrea.a...@gmail.com on 14 Mar 2013 at 3:54

GoogleCodeExporter commented 8 years ago
From what I remember, JOSM couldn't parse the gpx track, I looked directly in 
the file and was due to the & symbol written in a note that broke the xml 
parser (ampersand must be escaped in valid xml). When I changed it manually, 
JOSM validly opened it.

Original comment by saba...@gmail.com on 14 Mar 2013 at 4:53

GoogleCodeExporter commented 8 years ago
Currently & gets transformed in & 
Does that work also for gpx? It does for kmz

Original comment by andrea.a...@gmail.com on 14 Mar 2013 at 5:18

GoogleCodeExporter commented 8 years ago
In gpx export the output has & instead of & , instead kml has &
Tried now cause didn't find the old one..

Original comment by saba...@gmail.com on 14 Mar 2013 at 7:30

GoogleCodeExporter commented 8 years ago
Thanks, the bug was indeed still there. Found it now.

Fixed in 2e1cee8

Original comment by andrea.a...@gmail.com on 15 Mar 2013 at 6:49