gpx
gpx copied to clipboard
Failed to parse GPX1.0 file
Getting: invalid child element course
in waypoint
thread gpx
.
According to the spec[1], course
is valid but we do not handle it in the lib [2].
The straight forward fix could be just supporting this tag, but what about just killing InvalidChildElement
? Or minting a strict mode and only consider this as an error there?
[1] https://www.topografix.com/gpx_manual.asp [2] https://github.com/georust/gpx/blob/ef3ab70e90aefc9d7b6428ae42082bf69432f720/src/parser/waypoint.rs#L67-L123