-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
parseDocumentRelationships() crash #24
Comments
You just need to add |
Thanks @FleetPhil, would you mind if I add Logbook.xlsx file to the test suite? |
No problem @MaxDesiatov, but I'm now working on another issue on my data, let me try and work out the fix for that and add that to the test sheet. I'm getting a |
Thanks, I'll hold off merging #25 for now until more details and reproducible test cases are available |
I've had a look but I think it's beyond my knowledge of how to decode XML... The issue is in the
However some have an additional field, as here:
The Test sheet attached... BTW - I'm not actually interested in the Thanks, Phil |
Please also add: |
Thanks @FleetPhil, I've added both cases now in #25. Will address the |
This addresses parts of #24 * Add `case calcChain` to `Relationship.SchemaType` * Add `pivotCache` to `Relationships.SchemaType`
The reported cases were aded to the relationships enum, please feel free to reopen the issue if this is still reproducible for you in 0.4.0 and |
I'm getting almost the same error
|
Thanks for reporting this @stonkeep, could you please provide more details after checking out the |
Hi @MaxDesiatov - function was working but I'm now getting a crash on a test sheet, any ideas?
Crash message is:
'try!' expression unexpectedly raised an error: Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "relationship", intValue: nil), _XMLKey(stringValue: "Index 3", intValue: 3), CodingKeys(stringValue: "type", intValue: nil)], debugDescription: "Cannot initialize SchemaType from invalid String value http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain", underlyingError: nil))
Spreadsheet is:
Logbook.xlsx
Update: the issue seems to affect any document with formulas, where a
calcChain
relationship is included in the relationships fileThanks, Phil
The text was updated successfully, but these errors were encountered: