What steps will reproduce the problem?
1. Try to parse a file having this content:
<td height="7"
background="mailbox:///d|/Correo/s5yt4muj.default/Mail/Local%20Folders/Inbox?num
ber=688327231&part=1.2.8&filename=mime-attachment.gif" width="355">
2. The function org.xhtmlrenderer.swing.Java2DRenderer.getImage() will not
finish.
What is the expected output? What do you see instead?
- The expected output is that the process finish the rendering without getting
stuck.
- But instead it will not finish the process and get stuck.
What version of the product are you using? On what operating system?
- Version: Release 8
- OS: Windows XP
Please provide any additional information below.
- On the function
org.xhtmlrenderer.render.AbstractOutputDevice.paintTiles(FSImage, int, int,
int, int) if the image is not available, then width and height will be zero
(0), causing an infinite loop in the both for statements:
for (int x = left; x < right; x+= width) {
for (int y = top; y < bottom; y+= height) {
drawImage(image, x, y);
}
}
Original issue reported on code.google.com by ccascant...@gmail.com on 28 Jul 2011 at 3:16
Original issue reported on code.google.com by
ccascant...@gmail.com
on 28 Jul 2011 at 3:16