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

Free Support Forum - aspose.com

Embedded html cause error

Hello,

when opening with Aspose a document which has embedded html I get the following error message:
The document appears to be corrupted and cannot be loaded.
Inner-error message: This style is not a paragraph style.

I have tracked down the cause to the <p class=“BCX9 Paragraph SCXW223137353”… in the html code.
If the bold part gets removed it can be opened with Aspose.
With Microsoft Word I can open the document without any issue.
Can you please check if this is an issue.
Thank you

IssueWithHTML.docx (4.4 KB)

@cternek Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-24805. We will keep you informed and let you know once it is resolved.

May I ask if there is any update on this?
I see the issue status has changed to close

@cternek The issue is already resolved. The fix will be included into the next 23.2 version of Aspose.Words, which will be available at the very beginning of the next month. We will be sure to let you know once it is released.