We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
go version
go version go1.6.4 linux/amd64
Note: I did try this with go 1.8.3 and the issue still persists.
go env
GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/spyroboy/.go" GORACE="" GOROOT="/usr/lib/golang" GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="1" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1"
I'm trying to Marshal and Unmarshal XML data but it appears that there are discrepancies between how XML is parsed and how XML is generated.
I expect that generating data is the same as parsing data.
https://play.golang.org/p/Rex8DuLaTZ
The text was updated successfully, but these errors were encountered:
modifying the input string here to remove the attributes produces interesting results as well
https://play.golang.org/p/NSA4p4USVF
Sorry, something went wrong.
I'm fairly sure this is a dup of #13400.
yeah it appears to be. sorry about that. I hope my playground example will help in finding a solution.
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Note: I did try this with go 1.8.3 and the issue still persists.
What operating system and processor architecture are you using (
go env
)?What did you do?
I'm trying to Marshal and Unmarshal XML data but it appears that there are discrepancies between how XML is parsed and how XML is generated.
What did you expect to see?
I expect that generating data is the same as parsing data.
What did you see instead?
https://play.golang.org/p/Rex8DuLaTZ
The text was updated successfully, but these errors were encountered: