java - docx4j convert docx in wrong html format -


i have problems docx4j samples. need convert file docx in html format , back. i'm try compile convertinxhtmldocument.java sample. html file creates fine, when trying convert docx, throws exception missing close tags (meta, img etc). has encountered problem?

xhtmlimporter requires input well-formed xml. need ensure don't have missing close tags (meta, img etc); if do, run jtidy or similar first.

docx4j's (x)html output can either html or xml. 3.0, property convert.out.html.outputmethodxml control which.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -