kb0 / dart-gpx

Dart package for load, manipulate, and save GPS data in GPX format (a light-weight XML data format for the interchange of GPS data - waypoints, routes, and tracks).
Apache License 2.0
23 stars 27 forks source link

Fix missing version or creator nodes #18

Closed HugoHeneault closed 1 year ago

HugoHeneault commented 2 years ago

Based on https://github.com/BorisLok/dart-gpx/commit/0f6b2a99b1399ce276a49720bd7b4cb413bc588f

As @BorisLok said:

[Cause] if the gpx didn't contain the version of xml, or creator, it will crash. [Solution] give it default value.