Skip to content
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

encoding/xml: unmarshalling optional float64 field returns error #8334

Closed
gopherbot opened this issue Jul 7, 2014 · 3 comments
Closed

encoding/xml: unmarshalling optional float64 field returns error #8334

gopherbot opened this issue Jul 7, 2014 · 3 comments
Milestone

Comments

@gopherbot
Copy link

by momoir:

If possible, include a link to a program on play.golang.org.

1. http://play.golang.org/p/Twv8b6KCtw

What happened?
- The external API that my application is using, sometimes returns no values for one of
the float64 fields. When that happens, I cannot unmarshal the rest of the document.

What should have happened instead?
- Unmarshalling empty float fields should be handled gracefully.

Please provide any additional information below.
- Here's the stackoverflow link:
http://stackoverflow.com/questions/24602155/unmarshalling-optional-float64-field-returns-error-on-go/24602350
@gopherbot
Copy link
Author

Comment 1:

CL https://golang.org/cl/109500043 mentions this issue.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added repo-main, release-go1.4.

@rsc
Copy link
Contributor

rsc commented Sep 15, 2014

Comment 4:

Status changed to Duplicate.

Merged into issue #8333.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants