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.