UnsupportedFileFormatException not thrown anymore on Aspose.Words 23.2 for Java

if we try to open a ZIP file (i.e. not a DOC/DOCX) from Aspose.Words 23.2, it’s not throwing any exception and goes ahead with parsing (being a zip file, we get garbled characters); up to version Apose.Words 22.8 instead we got an exception ‘UnsupportedFileFormatException’ , that was preventing our application to go ahead (and this was the correct behavior).
Could you please explain/check why the version 23.2 is not returning the expected exception in case of unsupported format anymore?
No code samples required as you can only write something like ‘doc = new Document(“anyyfile.zip”)’; with Aspose.Words 22.8 you get the exception (correct), with 23.2 instead no except. raised.
Many thanks for your support.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25109

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

As a temporary solution, you can use FileFormatUtil to detect file format before loading the file:

FileFormatInfo info = FileFormatUtil.DetectFileFormat(@"C:\Temp\in.zip");
Console.WriteLine(info.LoadFormat); // Returns Unknown for simple ZIP archives

The issues you have found earlier (filed as WORDSNET-25109) have been fixed in this Aspose.Words for Java 23.4 update.