Re: Upgrade from FOP 0.20.5 to 0.94 text-align xsl used to convert the HTML to PDF
Updated information KarenT wrote: > > My original problem was stated poorly. I have included examples to try to > better define the problem. > Basically, the "on the fly" generation of PDF is broken using 0.94 fop. > The application with runs on a servlet, so users have no other option to > obtain the PDF results. > > The PDF errors are generated on a servlet. Adobe Reader error : The file > is damaged and could not be repaired. > The PDF generated by the servlet using 0.94 > http://www.nabble.com/file/p13779745/myfile.txt myfile.txt > > > Errors generated during the PDF generation on the servlet: > http://www.nabble.com/file/p13779745/errors.txt errors.txt > > PDF generated using 0.20.5 : i.e. what I expect to see > http://www.nabble.com/file/p13779745/EstimatorServlet.pdf > EstimatorServlet.pdf > -- View this message in context: http://www.nabble.com/Upgrade-from-FOP-0.20.5-to-0.94--text-align--xsl-used-to-convert-the-HTML-to-PDF-tf4816566.html#a13794290 Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: Upgrade from FOP 0.20.5 to 0.94 text-align xsl used to convert the HTML to PDF
On Nov 15, 2007, at 20:18, KarenT wrote: Hi Please direct such questions to fop-users@ in the future. Thanks! The documentation seems to indicate that text-align="right", "left", "center' works, but I am getting the following error: Nov 15, 2007 12:32:35 PM org.apache.fop.fo.PropertyList I'm somehow suspecting a piece to be missing here. Can you post the full error message? would the following be a problem? Are variables a problem ? Which variable are you talking about? In XSLT, the above is a shortcut for: > No variable here. In FO, the token "{q1/@align}" means nothing, and is an illegal value for the text-align property. No variable here, either. Either the expression is not evaluated during the XSLT phase, which would point to an error in the stylesheet, or the expression is correctly evaluated but leads to an invalid value for text-align. Andreas
Upgrade from FOP 0.20.5 to 0.94 text-align xsl used to convert the HTML to PDF
The documentation seems to indicate that text-align="right", "left", "center' works, but I am getting the following error: Nov 15, 2007 12:32:35 PM org.apache.fop.fo.PropertyList would the following be a problem? Are variables a problem ? -- View this message in context: http://www.nabble.com/Upgrade-from-FOP-0.20.5-to-0.94--text-align--xsl-used-to-convert-the-HTML-to-PDF-tf4816566.html#a13779745 Sent from the FOP - Dev mailing list archive at Nabble.com.