Java word compare

comparing between to lists gives wrong output

when the first list has more sub lists, aspose give wrong compare output

list1.docx (14.6 KB)

list2.docx (14.4 KB)

I have attached the two lists (html text) with this ticket

@feedonat As I can see compare result produced by Aspose.Words is similar o compare result produced by MS Word:
aw.docx (11.8 KB)
ms.docx (18 KB)

Please note, Aspose.Words is designed to work with MS Word documents. HTML documents and MS Word documents object models are quite different and it is not always possible to provide 100% fidelity after conversion one format to another. In most cases Aspose.Words mimics MS Word behavior when work with HTML documents.
Upon comparing documents Aspose.Words also mimics MS Word behavior. Comparison process is performed over the document object model not over original HTML tags.