look at your code it appears that you're missing a close row unless
you made a typo.
<table>
<tr>
<td></td>
<tr> <!-- This is the problematic tag -->
</table>
What I find that helps is to run the html string through the
htmlTidy() function first, then use cfdocument. If I remember
correctly the jars that do the pdf conversion expect strict xhtml. by
running your string through htmlTidy first, that avoids a lot of
headaches from the beginning.
regards,
larry
On Feb 5, 6:45 pm, nabuage <[email protected]> wrote:
> This issue has probably been addressed but I would just like to report
> it hoping that it can be fixed on the next release (to be on par with
> how Adobe ColdFusion handles it).
>
> The following HTML code is causing the cfdocument to fail (without
> error details):
>
> <cfsavecontent variable="html">
> <html>
> <body>
> <table>
> <tr>
> <td></td>
> <tr> <!-- This is the problematic tag -->
> </table>
> </body>
> </html>
> </cfsavecontent>
>
> <CFCONTENT TYPE="application/pdf; charset=iso-8859-1">
> <cfheader name="Content-Disposition"
> value="attachment;filename=test.pdf">
> <cfdocument format="pdf"><cfoutput>#html#</cfoutput></cfdocument>
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!