Similar to this issue:
i am seeing values like:
<w:ind w:left="18.899993896484375" w:right="147.41943359375"
to solve it quickly set the value of the property docx4j.jaxb.JaxbValidationEventHandler to local version of the mc-preprocessor.xslt and made changes to handle the w:ind attributes.
I added xsl:message output to confirm that my xslt was running and cleaning up the non integer numbers.
I could see the the correct values output in the logs, however my call to:
Still throws a java.lang.NumberFormatException: For input string: "5.9999847"
My assumption was the the mc-preprocessor.xslt would clean all these invalid values and then reload the document content using the output, but this does not appear to be happening.
Is there something else that needs to be enabled to fix this issue?