Aspose Word hang when processing HTML

Hi Aspose,
When I loaded and processed hang.html using Aspose words, it hang. I attached sample.zip and this worked fine with firefox. I used Aspose Word (16.8.0).
My code is:

HtmlLoadOptions loadOption = new HtmlLoadOptions();
loadOption.WebRequestTimeout = 60000;
// Clean outputFile
Document doc = new Document(inputFile, loadOption);
for (int i = 0; i <doc.PageCount; i++) // HANG THERE
{}

Please help.

Hi,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 16.8.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-14194. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Please tell me the status of this issue WORDSNET-14194

Hi,

Our product team has completed the analysis and the root cause of this issue has been identified. However, because of complexity, the implementation of the fix of this issue has been postponed for now (no ETA is available). We will inform you as soon as this issue is resolved. We apologize for your inconvenience.

Best regards,

@truongminhlong,
The issues you have found earlier (filed as WORDSNET-14194) have been fixed in this Aspose.Words for .NET 17.12 update and this Aspose.Words for Java 17.12 update.
Please also check the following articles: