Big/Huge XMLs

2003-05-22 Thread Mohit Sharma
I havebig/huge XMLs, and I need to convertthem intoPDFs using FOP.Benchmarking the latest FOP gives poor results, both memory-wise andprocessing-wise. Its just taking too much time. The XML cannot really be broken down into chunks, as its all part of a report. And I need to process a lot of

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
[I'll give J. a breather on this one] Assuming you've made certain that the bottleneck is in FOP and not your XSLT transformation, the only thing you can really do to help with very large reports is to break the PDFs into multiple page-sequences. IE start a new page-sequence every X nodes.

Re: Big/Huge XMLs

2003-05-22 Thread Jeremias Maerki
In addition to Matt's comments there is: http://xml.apache.org/fop/running.html#memory Also keep in mind that very high memory consumption often comes with a decrease in speed for Java. So reducing memory consumption may improve speed. Also avoid building a DOM for input. I you do that try

Graphic Problem

2003-05-22 Thread Swee Yueng
Hi, I wrote a program to retrieve some data from database and then generate a xml file by using JDOM. Then, I use FOP to generate the PDF file. It works fine but later I found out the image in the PDF file will not get refresh until I restart tomcat, even I tried to delete the PDF file

Re: Graphic Problem

2003-05-22 Thread Jeremias Maerki
I've documented the behaviour recently, but the text hasn't made it to the main site, yet. Please follow the following URL for a solution: http://forrestbot.cocoondev.org/sites/xml-fop/graphics.html#caching I hope this helps. On 22.05.2003 09:13:07 Swee Yueng wrote: I wrote a program to

RE: Graphic Problem

2003-05-22 Thread Torsten Erler
The Problem is located at FOPImageFactory. The m_urlMap caches the url of the Image to the produced FopImage (it doesn't check for last modified or something else, so you get the same image for the url until the image reference is cleared). Solution: in FOP 0.20.5rc2 you can call

RE: Showing the name of the elements (user defined xml tag) in pd f using FOP

2003-05-22 Thread David Neary
De : Zahidul Islam [mailto:[EMAIL PROTECTED] xsl:templates match=item_details xsl:apply-templates select=attributes/ /xsl:templates xsl:templates match=attributes xsl:apply-templates/ /xsl:templates If you use xsl:template match=attributes xsl:for-each select=* xsl:value-of

fo:leader and toc

2003-05-22 Thread Mark Baier
Hi all, i have a question concering the use of leaders in a toc to create some dots between Chaptername and page number like: 1. Chapter1 .. 1 1.1 Subchapter 1.1 ... 2 and so on. I have updated this day on fop0.20.5.rc3a and since then my leader doesn't generate dots

diplaying text/image in particular (x,y) coordinate in FO

2003-05-22 Thread Zahidul Islam
At first thanks for getting reply of my early request. I am now facing problem as i have to display all the text or images at there specific position determined by the x,y coordinate. For example, let i have to show the following : Name : Zahidul Islam My Image will Shown here Designation

RE: Tif image error

2003-05-22 Thread Rob Stote
Title: RE: Tif image error Hello: I'm not sure, if you are on a windows box or not, but I have found that most windows imaging software can not handle the fax compression correctly and it inverts the colors. Try d-loading this browser plug-in to view your tiffs:

Re: Big/Huge XMLs

2003-05-22 Thread J.Pietschmann
Savino, Matt C wrote: We increased our max PDF size on this report from 30 pages to 200 Huh? What complications do you add to the layout to run out of memory at only *30* pages? I never had any problems until I got well past 1000 pages (using -mx128M, JDK 1.3.1) J.Pietschmann

Re: diplaying text/image in particular (x,y) coordinate in FO

2003-05-22 Thread J.Pietschmann
Zahidul Islam wrote: I am now facing problem as i have to display all the text or images at there specific position determined by the x,y coordinate. For example, let i have to show the following : Name : Zahidul Islam My Image will Shown here Designation : Programmer

Re: fo:leader and toc

2003-05-22 Thread J.Pietschmann
Mark Baier wrote: I have updated this day on fop0.20.5.rc3a and since then my leader doesn't generate dots correctly. See bug #19465. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Nested Blocks Seem to Take Up Space

2003-05-22 Thread Robert Raposa
Using FOP 0.20.4. I have created a page-master with a certain width and height (768 x 1024) and no margins. I tried to fill this page with an image (PNG) - also of size 768 x 1024. If the image is enclosed in exactly one block - it works fine. However - if the image is enclosed inside of two

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
30 pages is not our absolute max, but we have set a requirement that we have to be able to handle at least two concurrent reports, so we need some cushion. I have attached some FO for a report that runs around 50 pages, using only one page-sequence. I would really appreciate it if you coule run