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

Comments

Projects
None yet
3 participants
@gopherbot
Copy link

gopherbot commented Jul 7, 2014

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

This comment has been minimized.

Copy link
Author

gopherbot commented Jul 7, 2014

Comment 1:

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

This comment has been minimized.

Copy link
Contributor

ianlancetaylor commented Jul 7, 2014

Comment 2:

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

@rsc

This comment has been minimized.

Copy link
Contributor

rsc commented Sep 15, 2014

Comment 4:

Status changed to Duplicate.

Merged into issue #8333.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015

@rsc rsc removed the release-go1.4 label Apr 14, 2015

@golang golang locked and limited conversation to collaborators Feb 28, 2017

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.