Re: [Gpsbabel-misc] converting Garmin ForeRunner 301 waypoints to GPX: bad XML in <cmt> and <desc>
Brought to you by:
robertl
From: Robert L. <rob...@gm...> - 2008-05-27 18:10:12
|
> > Some of these waypoints were originally exported from another Garmin, then > imported to the ForeRunner 301, but even waypoints created on the device > itself have the "04 23" comment field in the GPX output. (I don't I'm travelling and away from my FR301, but reading that packet trace, we aren't misparsing it; the unit is returning comments with corrupted characters. 1) Comments may need more escaping to be valid XML > Agreed, our GPX writer should handle this. > 2) The WPTDAT packet isn't being parsed correctly, or this particular GPS > is sending back bogus waypoint comments > It's being parsed correctly. We could/should toss the "bad" character, but even if we bounce the offender, there is still legal but nonsensical data there. So we can do better, but you still won't get what you really want. Perhaps your unit is due for a "reset all". RJL |