After upgrading Aspose.Words from version 21.6 to version 22.2, we started noticing an issue with opening some documents from the stream. Trying to open a document ends with an error “Exception occurred. Details: Aspose.Words.FileCorruptedException: The document appears to be corrupted and cannot be loaded. —> System.InvalidOperationException: Cannot find a style with this istd.”.
We tried to upgrade, but issue is also reproducible using Aspose.Words 22.4, while it is not in 21.6.
In the attachment there is the document for which the problem is reproducible, the linqpad script with the code that opens the document and linqpad output with exception thrown exported to html.