-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
使用官方案例生成的Excel无法打开 #1840
Comments
Thanks for your issue. If you are reporting a new issue, make sure that we do not have any duplicates already exist. If it does not work with Go 1.21.0, please reference the issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633, #1637, #1641, #1642, #1648, #1651, #1652, #1656, #1657, #1660, #1663, #1670, #1686, #1734, #1752, #1764, #1768 and #1774. 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), and it has been fixed on Go 1.21.1. Please using the Go 1.20.12 and previous Go released version or upgrade to Go 1.21.1 and later. I have added notice on the README and documentation website for this, and I've closed this. If you have any questions, please let me know, and reopen this anytime. 谢谢您的议题,在您创建新的议题之前,请确保不存在任何重复的议题。这与已有议题重复,请参考 #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633, #1637, #1641, #1642, #1648, #1651, #1652, #1656, #1657, #1660, #1663, #1670, #1686, #1734, #1752, #1764, #1768 和 #1774。Go 1.21.0 对 encoding/xml 标准库做了不兼容的更改,我已将该问题反馈至 Go 团队,并提交了修复补丁 golang/go#61881,已在 Go 1.21.1 中修复。请使用 Go 1.20.12 以及更早版本,或升级 1.21.1 及以上版本。我已经为此在自述文档和文档网站上添加了通知,因此我将关闭此议题。如果您有任何问题,请告诉我,并可随时重新打开。 |
感谢作者大大,我已仔细查看文档并找到自己的问题。多谢您的回复 |
go版本:go version go1.21.0 windows/amd64
![image](https://private-user-images.githubusercontent.com/32658824/310908463-d6beb4f8-3523-409b-a5a8-fd36516cb9cf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjUxNTAsIm5iZiI6MTcyNjAyNDg1MCwicGF0aCI6Ii8zMjY1ODgyNC8zMTA5MDg0NjMtZDZiZWI0ZjgtMzUyMy00MDliLWE1YTgtZmQzNjUxNmNiOWNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAzMjA1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxZWE4ZDUwNzQzZTY4N2M4OGEwZGJmNmE3MTA1NGY5ZWMzMGQzNTJkNzc1ZmYwZjA3Yjc4Y2VkMGFkNGRjMmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._2B-itR9mtvAYlvziU5Q0uYrh1rN84x_IF1oNTO-gfk)
打开文件报错截图:
The text was updated successfully, but these errors were encountered: