tianchiing / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

xmlvalue out of range exception #427

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Convert .doc to .docx using b2xtranslator
2. Convert the resulting .docx file to xhtml using Xdocreport
3. empty html is generated

What is the expected output? What do you see instead?
xhtml expected, empty xhtml generated

What version of the product are you using? On what operating system?
version 2.1, on Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by dbisi...@gmail.com on 31 Jul 2014 at 4:19

GoogleCodeExporter commented 8 years ago
It help us if you add the stack trace with your "xmlvalue out of range 
exception". Where comes from this exception? If the problem comes from with POI 
loading, I suggest you to post your question on POI forum.

But I suggest you not to use several converter to convert your doc to xhtml, 
because each converters will loose some formats.

It seems that POI provides a doc->html converter with WordToHtmlConverter 

Original comment by angelo.z...@gmail.com on 4 Aug 2014 at 6:02