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

Unable to parse .xlsx file (not working parseWorksheet) #27

Closed
zubairghori opened this issue Dec 8, 2018 · 3 comments

Comments

Projects
4 participants
@zubairghori
Copy link

commented Dec 8, 2018

try! parseWorksheet throwing exception:
screenshot 2018-12-08 at 5 40 23 pm

Error Domain=NSXMLParserErrorDomain Code=73 "(null)" UserInfo={NSXMLParserErrorColumn=16328, NSXMLParserErrorLineNumber=2, NSXMLParserErrorMessage=Couldn't find end of Start Tag c
}

@FleetPhil

This comment has been minimized.

Copy link

commented Dec 8, 2018

It's the same issue as #26 that I posted earlier. The unzip process is called with a buffer of 16k bytes so truncates the XML if it's larger than that. You are getting an error around the 16k mark because the XML string has been truncated

@zubairghori

This comment has been minimized.

Copy link
Author

commented Dec 14, 2018

How can i get it resolve?

@MaxDesiatov

This comment has been minimized.

Copy link
Owner

commented Jan 11, 2019

Thanks for the report @zubairghori and sorry for the delay. This issue is fixed in master branch and the fix will be released as a part of the 0.4 released soon. Please feel free to reopen this issue if it's still reproducible with those versions.

0.4 release automation moved this from To do to Done Jan 11, 2019

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