Re: Big success; structural questions

2001-07-18 Thread Keiron Liddle
(where to start?) Currently the svg rendering uses more memory than it should, all the rendering data is written into a StringWriter. -- I think in terms of the structure of FOP: - changing the pdf generation would be a good thing, ie. adding streaming support and linearized support (good for

Re: Code Style, was Re: PDF serialization

2001-07-18 Thread Tore Engvig
On Tue, 17 Jul 2001, Arved Sandstrom wrote: Hi, Tore Well, how about _you_ set the day, since you're the volunteer? :-) Sure. Monday the 23rd evening (GMT) is codeformatting day unless somebody protests. Everyone who have some uncomitted code should commit it by then as the diffs in your

Can FOP work with other parsers and processors?

2001-07-18 Thread adel ben
Hi all, I have tested FOP with the xerces parser and xalan processor and it works correctly. However, in the documentation I noticed that it would work correctly with other parsers and processors. can anyone tell me which are parsers and processors? with regards, adel

set request properties for URLConnections

2001-07-18 Thread Heiko Barthel
i wanna set request properties when retrieving for example an image with fo:external-graphic. I need it for setting cookies or authorization header (if image is located on a server where authorization is needed): ... URLConnection uc = url.openConnection();

external-graphic - problem using relative path

2001-07-18 Thread Micheál Healy
Hi all, I posted a message regarding this problem a couple of weeks ago, but received no reply. I need to reference images ("external-graphic") in my xsl. It seems to work fine when I use the absolute path, but not when I use the relative path. Please find attached my original message -

FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
We did some playing around with a simple FOP servlet that does XHTML-XSL-FO-PDF using Xalan and FOP and come away with the following findings: 1. It uses quite a bit of memory. While running around 20-30 concurrent users, each generating a set of four PDFs ranging from 2 to 5 pages five times

Re: FOP in a servlet under load

2001-07-18 Thread Christopher R. Maden
At 03:25 18-07-2001, Weiqi Gao wrote: We did some playing around with a simple FOP servlet that does XHTML-XSL-FO-PDF using Xalan and FOP and come away with the following findings: 1. It uses quite a bit of memory. While running around 20-30 concurrent users, each generating a set of four PDFs

RE: external-graphic - problem using relative path

2001-07-18 Thread Ronald Jaramillo
try fo:external-graphic src=file:VincentSite/img/chkbxgif-y.gif/ mvh Ronald -Original Message- From: Micheál Healy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 12:16 PM To: [EMAIL PROTECTED] Subject: external-graphic - problem using relative path Hi all, I posted a

Re: FOP in a servlet under load

2001-07-18 Thread Jeremias Maerki
3. It takes quite a bit of time to do the generation. The minimum generation time for the four documents are from 1 to 4 seconds (the 4 seconds one is 5 pages with 13 tables with various cell colors and border styles). In the 30 user test, the average time are from 20 to 40 seconds, and

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Wed, 18 Jul 2001 13:43:07 Jeremias Maerki wrote: This sounds quite like the experiences by Jim Cotugno (See subject Multithreading). Some time ago I did some concurrency tests and it was interesting to see what happened. When multiple conversions occur concurrently FOP seems to align the

Re: external-graphic - problem using relative path

2001-07-18 Thread Micheál Healy
Ronald, Thanks for the suggestion, but unfortuately, it hasn't worked. I still get the following error - Invalid Image URL - error on relative URL : java.lang.NullPointerException. I tried both fo:external-graphic src=file:VincentSite/img/chkbxgif-y.gif/ and fo:external-graphic

RE: external-graphic - problem using relative path

2001-07-18 Thread Ronald Jaramillo
try placing an image (say foo.gif ) on the same directory as the fop.jar . Then write a simple fo file: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=simple fo:region-body

FOP in a servlet under load

2001-07-18 Thread Raju Dave
Hi, xhtml-xsl-fo takes very short time say only fraction of total time. Thus it is best done with external tool and not to load fop with it. Raju Dave iORMYX GmbH http://www.monsterindia.com - The Best Jobs. For the Best Minds.

Re: Can't build fop: Hangs after Starting Ant...

2001-07-18 Thread Gregor N. Purdy
All -- On 11 Jul 2001 11:12:50 -0400, Gregor N. Purdy wrote: Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting Ant Has anyone else run into this? Is it

cvs commit: xml-fop/src/org/apache/fop/layout BorderAndPadding.java

2001-07-18 Thread klease
klease 01/07/18 14:24:36 Modified:src/org/apache/fop/fo/flow TableRow.java TableCell.java src/org/apache/fop/layout BorderAndPadding.java Log: Make display-align work on table-cell Revision ChangesPath 1.48 +3 -2

Re: Problem with border and tables

2001-07-18 Thread Karen Lease
Bonjour Jean-Claude, That looks like the sort of problem I might be working on soon. I'll let you know if and when I get it fixed. Salut, Karen GALLO Jean-Claude wrote: I would like to create a fo:table inside which a fo:table-cell contain another fo:table. Everything goes fine while you

Re: Can't build fop: Hangs after Starting Ant...

2001-07-18 Thread Arved Sandstrom
At 04:34 PM 7/18/01 -0400, Gregor N. Purdy wrote: All -- On 11 Jul 2001 11:12:50 -0400, Gregor N. Purdy wrote: Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi With my changes to FOP I can process tens of thousands of pages of XML:FO in only a few Mb of heap. I have asked for testers but so far noone has responded... this sounds like an ideal environment in which to test, no? The performance of FOP seems also to have improved, probably because

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
I just run 30 threads of my earlier chapter 15 allelements example on my home machine and noticed that compared to a single thread run, time spent on XSLT increased roughly 6 fold, time spent on build FO tree increased 30 fold, formating 12 fold. Context switches are at 6 per second level

userconfig in AIX.

2001-07-18 Thread David Ryan
Hi..I'm attempting to run FOP 0.19.0 under AIX using WebSphere Java 1.2.2. Mostthings seems to be working ok. My problem is that I can't seem to load myown user configuration file. Using the Fop command line program..java -classpath fop.jar org.apache.fop.apps.Fop -c "conf/userconfig.xml"

Re: FOP in a servlet under load

2001-07-18 Thread Arved Sandstrom
At 11:05 AM 7/19/01 +1000, Mark Lillywhite wrote: I hope to have my final changes completed today at which time I will post a summary of them and submit them for inclusion... they are not too major. I have modified all of the renderers to suit and have a slightly different API and calling

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi, You can certainly fire them over to me - I'll be happy to test. Great! Thanks. I'm just about ready to send you a bunch of stuff, I think. Have worked out the citations business and will ask you a few questions privately if that's OK. Well, yeah, you're right. Rather than comment on this

Re: FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
On 19 Jul 2001 11:24:01 +1000, Mark Lillywhite wrote: I just run 30 threads of my earlier chapter 15 allelements example on my home machine and noticed that compared to a single thread run, time spent on XSLT increased roughly 6 fold, time spent on build FO tree increased 30 fold,

Re: How FOP renderred my 17,344 page document...

2001-07-18 Thread Seshadri G.K.
AAh, I have a working multi -threaded memory patch that i developed and its been lying around with me simply because i just dont want to figure how to commit from my stupid windoze machine. If anyone wants to see the work i have done, committers included, pls take it from me and commit it! sesha

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi Weiqi, In unmodified FOP, input from the source FO document occurs entirely at the beginning of the FOP run, and output entirely at the end. Therefore, the largest part of FOP processing occurs entirely in-memory and is therefore CPU bound. If you run 30 CPU bound threads concurrently on a

Re: userconfig in AIX.

2001-07-18 Thread Keiron Liddle
First of all can you put -d in the command line. THis will show an error dump of what is hapenning. The message that you are getting is printed out if the ConfigurationReader throws a FOPException, ie. any sort of error. So it may be that there is some other problem such as invalid xml, there

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Thu, 19 Jul 2001 03:05:33 Mark Lillywhite wrote: Hi With my changes to FOP I can process tens of thousands of pages of XML:FO in only a few Mb of heap. I have asked for testers but so far noone has responded... this sounds like an ideal environment in which to test, no? The

Unknown namespace prefix fo

2001-07-18 Thread peti ban
I am facing a problem: When I use fop_15 from the server. It is working all right, but the same code doesn't work for fop_14. It gives the error - Unknown namespace prefix fo Even the sample file which is provided with FOP version_14 also doesn't work. My xsl file looks like this. ?xml

Re: userconfig in AIX.

2001-07-18 Thread Keiron Liddle
Well thats you problem, its not proper xml. You have to actually cloas of all tags. ie. font-triplet name=gara style=normal weight=normal/ notice the / at the end of the line On Thu, 19 Jul 2001 08:19:10 David Ryan wrote: Thanks for the suggestion. I tried the -d option but it didn't give

Re: userconfig in AIX.

2001-07-18 Thread Stefan Bodewig
On Thu, 19 Jul 2001, David Ryan [EMAIL PROTECTED] wrote: font metrics-file=gara.xml kerning=yes embed-file=gara.ttf font-triplet name=gara style=normal weight=normal /font Can you see anything wrong with this? You don't close the font-triplet element. Make that font-triplet