-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing to GPXExtension #64
Comments
Sorry that this didn't work as expected. The extensions system is still rather buggy. Hopefully when more people uses it, it will get better, as I tend to overlook at certain bugs. I think that this has something to do with issue #61. If it was, I should be able to get a fix done within hours. |
@andrijamilovanovic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI,
I'm trying to add extension with code:
trackpoint.extensions = GPXExtensions()
trackpoint.extensions?.append(at: "gpxtpx:TrackPointExtension", contents: ["gpxtpx:hr":"2"])
Unfortunately, as a result, I'm getting invalid XML where open and closed tags for extensions are not properly paired.
I was trying to add dummy attributes to force GPXExtensionsElement into properly generate open tag, but still, I was not able to implement a workaround.
Thanks,
A.
The text was updated successfully, but these errors were encountered: