vincentneo / CoreGPX

A library for parsing and creation of GPX location files. Purely Swift.
https://www.vincent-neo.com
MIT License
261 stars 56 forks source link

Fix GPXExtensionsElement for 'no parent' malfunction #61

Closed vincentneo closed 4 years ago

vincentneo commented 4 years ago

This will ~fix~ issue #58 comment.

To fix:

<tag>
   <tag>100</tag>
</tag>

when its supposed to be:

<tag>100</tag>

@edorphy Can you test with #58 file to replicate and see if issue still occurs? I won't close that issue as it does not provide the interface for direct Apple Health Export read/write, while this allows a manual read/write regardless of that.

edorphy commented 4 years ago

Sorry for the delay. Tried it out with speed, hAcc, and vAcc keys in the extension. Looks good, works as expected. Close #58