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

expected element <workbook> in name space http:https://schemas.openxmlformats.org/spreadsheetml/2006/main but have no name space #1727

Closed
HollischenBiber opened this issue Nov 23, 2023 · 4 comments
Labels
duplicate This issue or pull request already exists
Projects

Comments

@HollischenBiber
Copy link

Hello.

I'm trying to process a file that I got from another service (meaning I can't change it anyway but in my code using your lib), anyway I can't get a cell value from it, i got a panic. If I save it with file.SaveAs() and try to open a new file - i got an issue from the title. If i open the file in Excel then save it - I can process it using your library without any problems. File with problems is attached.
TestExcel2311.xlsx

Thanks in advance for your help

@xuri xuri added the needs more info This issue can't reproduce, need more info label Nov 24, 2023
@xuri
Copy link
Member

xuri commented Nov 24, 2023

Thanks for your issue. I have tested your attachment workbook with lasted version and it works well. Which version of the Excelize library are you using? Could you show us a complete, standalone example program or reproducible demo? Note that, there are some incompatible changes in the Go 1.21.0, the Excelize library can not working with that version normally, if you are using the Go 1.21.x, please upgrade to the Go 1.21.1 and later version.

@HollischenBiber
Copy link
Author

Thanks for you answer. I updated everything but it doesnn't work

TestExcelReading.zip
TestExcel2311.xlsx
image
image

@xuri
Copy link
Member

xuri commented Nov 24, 2023

Thanks for your feedback. This issue similar with #1723, and has been fixed in #1692. Please upgrade to the master branch code. This patch will be released in the next version.

@xuri xuri added duplicate This issue or pull request already exists and removed needs more info This issue can't reproduce, need more info labels Nov 24, 2023
@xuri xuri added this to Bugfix in v2.8.1 Nov 24, 2023
@xuri
Copy link
Member

xuri commented Nov 28, 2023

I've closed this issue. If you have any questions, please let me know, and you can reopen this anytime.

@xuri xuri closed this as completed Nov 28, 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
No open projects
v2.8.1
Bugfix
Development

No branches or pull requests

2 participants