Freaky issue with Flexy and foreach breaks fo2pdf

From: Date: Thu, 12 May 2005 01:24:23 +0000
Subject: Freaky issue with Flexy and foreach breaks fo2pdf
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19167@lists.php.net to get a copy of this message
Hi there, I am developing a custom Java class of Apache's XMLFO. I have also built a class implemntation of XML_fo2pdf but for html XML_HtmlToPDF. I am sending a html string created from Flexy , I dont have a servlet or java extension compiled (experimental) therefore i am saving the html as a temp file. The Java app I am building will then load the temp html file, a temp fo file, and run another app called html2fo :) I am going to bypass html2fo once i sought out how to transform html to a fo file using xsl. Anyway it creates the fo file ok. However i am using a flexy foreach within a row of a table at the end. A freaky thing is happening, Flexy is adding the </table> tag after the row tag obviouslly with some freaky whitespace and characters it looks like </tr> </table> What happens here is the saxparser to transform the fo breaks, because of this ! now it should be looking the way i have it in the html like this :) </tr> </table> Let me know a workaround. Also if anyone is interested in the custom app lemme know, I am considering submitting it within the XML_fo2pdf package. I had to add a Java class to bypass if the Java extension isnt there and run Java via passthru :)

« previous php.pear.general (#19167) next »