Free Support Forum - aspose.com

Unexpected CPU hot spot in ZipOutputStream when opening XSLB

Hi @ahsaniqbalsidiqui,

The new flag shows a nice performance improvement for XLSX files as well, that is a pleasant surprise :+1:

Perhaps it would be better to throw an exception if a workbook loaded with the KeepUnparsedData is saved?

Kind regards,
Taras

@TarasTielkes,
We are afraid that throwing exception is not a general solution for all users. The problems we have described are not always reproduced for all kind of files. In fact, it is just some possible problems for some template files. For most users and simple files, the re-saved file may be ok. And maybe there are some users who do not mind the warnings or corrupted contents in the resaved files. So we cannot give exception always for all users.