xhtml import - table issues
Posted: Thu Apr 19, 2012 2:01 am
Hello,
Today I'm trying to convert an HTML Document to DOCX Document.
I made several tests on Table conversion and I have an error in some cases when I'm using "colspan" :
In this case, it works :
But, in this case, there is an error ("java.lang.NullPointerException") :
Is this a bug or anything else ?
Thanks for your answers.
skyvic
Today I'm trying to convert an HTML Document to DOCX Document.
I made several tests on Table conversion and I have an error in some cases when I'm using "colspan" :
In this case, it works :
- Code: Select all
<table border="1">
<tbody>
<tr><td colspan="2"><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td></tr>
<tr><td><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td><td><p>Bouh</p></td></tr>
<tr><td><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td><td><p>Bouh</p></td></tr>
</tbody>
</table>
But, in this case, there is an error ("java.lang.NullPointerException") :
- Code: Select all
<table border="1">
<tbody>
<tr><td><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td></tr>
<tr><td colspan="2"><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td><td><p>Bouh</p></td></tr>
<tr><td><p>Name</p></td><td><p>Age</p></td><td><p>Bouh</p></td><td><p>Bouh</p></td></tr>
</tbody>
</table>
Is this a bug or anything else ?
Thanks for your answers.
skyvic