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

Generated an invalid workbook with Go 1.21.0 #1614

Closed
645775992 opened this issue Aug 17, 2023 · 2 comments
Closed

Generated an invalid workbook with Go 1.21.0 #1614

645775992 opened this issue Aug 17, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@645775992
Copy link

image

希望能尽快解决

@645775992
Copy link
Author

完全按照demo书写的

@xuri
Copy link
Member

xuri commented Aug 17, 2023

Please don't create a duplicate issue, I've closed this. This was duplicated with issue #1465, #1595 and #1603. There are some incompatible changes in the Go 1.21.0 encoding/xml library. I have given feedback to the Go team and created a patch for it (golang/go#61881). I suggest waiting for the next minor releases or using the Go 1.20.7 or previous version, and you can also vendoring the Go encoding/xml package by yourself if you need to, or apply the patchsets in the CL https://go.dev/cl/466295 if you can.

@xuri xuri closed this as completed Aug 17, 2023
@xuri xuri added the duplicate This issue or pull request already exists label Aug 17, 2023
@xuri xuri changed the title go 1.21 无法生成正确的excel Generated an invalid workbook with Go 1.21.0 Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants