In one of our projects, we turn HTML into PDF's using the cfdocument tag set. Before the update to 8.01 the HTML being sent to the PDF formatter worked perfectly.
The string of HTML that cfdocument was choking on looked like this:
<table border="0" cellpadding="0" cellspacing="0" width="700">
<tbody>
<tr>
<td>test
<br /><br />
</td>
</tr>
</tbody>
</table>
Specifically, the issue is with the double br's. With just one br it worked, but with both it would throw the following error.
"java.io.IOException: Parsing problem occurred during the rendering process of this document."
This is the simplest example, there may be other quirks rendering HTML to PDF.
I highly recommend reading through the release notes to learn more about the update!
http://www.adobe.com/support/documentation/en/coldfusion/801/cf801releasenotes.pdf

3 comments:
How did you solve this?? I have the same problem and i'm scratching my head to solve this.
I have the same problem. Is there a solution? Pls help. Greetings from Bavaria, Robert Fischbacher
Review your html that is being turned into the pdf. I had issues with multiple tags "
". specifically at the end of the document.
Basically to find this issue was a trial and error. Take a copy of the html being generated and remove parts until it works. its very tedious.
Post a Comment