-
Notifications
You must be signed in to change notification settings - Fork 11
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
Panic with atom:link element #8
Comments
The problem is caused by the namespace which is ignored by the decoder:
The two nodes below are bode decoded as "link", where in the default namespace link is just a string, but in the atom namespace link is a map (because of its attributes), which is causing the panic.
|
Merged
@vanbroup thanks for the fix. merged! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A panic is triggered while decoding atom document with:
Removing the
:link
suffix from the element resolves the issue, see also this example:https://play.golang.org/p/E8qc16pry6-
The text was updated successfully, but these errors were encountered: