Hello,
I use Aspose.Words in order to create a Document object from an HTML file.
I found out that if my HTML file contains nested tables that are nested to deep (beyond 25-30 levels deep) when trying to create new Document from this HTML file the program "stucks" and never stop running.
I tried running the following code on an HTML file with 44 nested tables (I mean table1 contains table2 which contains table3 which contains .... table44):
Stream stream = File.OpenRead(@"C:\HtmlFile.html");
Aspose.Words.Document doc = new Aspose.Words.Document(stream, new LoadOptions(){ LoadFormat = Aspose.Words.LoadFormat.Html});
This code was running for 2 days and didn't stop.
I suspend that maybe you don't support too many levels of nesting.
Unfortunately, these deep levels of nesting is necessary for my needs and I can't avoid it.
Hope you could find me a solution.
Thank you very much.