Hello,
When I convert this HTML with an empty table to PDF using Aspose HTML Java 24.5, I get this error:
Caused by: class com.aspose.html.utils.ms.System.InvalidOperationException: Enumeration has either not started or has already finished.
The HTML is very simple:
<html>
<body>
<table></table>
</body>
</html>
Here is the code in Java:
HTMLDocument doc = new HTMLDocument("c:\\tmp\\originalFile.html");
PdfSaveOptions options = new PdfSaveOptions();
Converter.convertHTML(doc, options, "c:\\tmp\\originalFile.pdf");