We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Infinite Loop when loading HTML with a specific SVG into Aspose.Words

When I load an HTML with an embedded SVG into Aspose.Words with the following code:

public Document CreateDocument(Stream htmlContentStream)
{
var loadOptions = new LoadOptions { Encoding = Encoding.UTF8 };
var document = new Document(htmlContentStream, loadOptions);
}

Aspose.Words ends in an infinite loop while executing the 2nd line (new Document).
This works perfectly for certain SVG images, while others do not work. I could not pinpoint a specific SVG version which does not work.
On the tested Aspose.Words Releases 13.11 and 16.1 the infinite loop occurs.

Do you have any information which SVG version/features are supported by aspose.words?

Attached is an example solution reproducing the bug.

Hi Marco,


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13255. Our product team will further look into the details of this problem and we we will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

Hi


Thank you for your reply. Looking forward to your update.

Best Regards,

Marco

The issues you have found earlier (filed as WORDSNET-13255) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.