I am using aspose-words-18.5-jdk16 api for java.
I am converting docx to xml. and again xml to docx (i.e docx -> xml -> docx). But last section of Resulting docx is not appending properly, it is taking extra space in paragraphs.
I have attached source and output docx, please check their last sections.
Source and Output doc.zip (1.2 MB)
Project.zip (7.4 MB)