Re: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Oleg Tkachenko
Koes, Derrick wrote: org.apache.fop.apps.FOPException: root must be root element at org.apache.fop.fo.pagination.Root.(Root.java:52) I get this exception only very, very intermittently when I'm rendering to PDF a document with many images. Can anyone help? So you cannot surely reproduce

Re: cache piece of FOP Transformation

2003-03-19 Thread Oleg Tkachenko
Jan Zmitko wrote: is it possible to cache pieces of the result from the transformation. I have designed my XSL Stylesheet with templates (5 templates). Two Templates containes static content and these I would like cache. My Problem ist that all these Stylesheets are called in one Stylesheet

Re: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Jeremias Maerki
Well, either FOP doesn't get namespaced SAX events or you're feeding not XSL-FO but something else. I can't tell from the code sample you posted. Anyway please look at the ExampleXML2PDF.java in the examples/embedding directory starting with FOP version 0.20.5rc. The example does things a little

Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
Hello everybody, as I get a / by zero error under FOP 0.20.3 I want to upgrade to 0.20.5rc. Unfortunately now I get a different error: C:\fop\fop-0.20.5rcjava -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\ava

AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Mirko Sertic
I think you have avalon-framework-4.0 in your classpath. This file has changed. It is now called avalon-framework-cvs... and was part of my source distribution. Serach for such a file and change the classpath. This should fix your problem. Cheers Mirko Sertic -Ursprüngliche Nachricht-

RE: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Koes, Derrick
Version 0.20.5rc2 I suspected as much about the thread safety, the class containing the driver code was a singleton. I'm changing that now. Thanks, Derrick -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:52 AM To: [EMAIL PROTECTED]

AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
I think you have avalon-framework-4.0 in your classpath. This file has changed. It is now called avalon-framework-cvs... and was part of my source distribution. Serach for such a file and change the classpath. This should fix your problem. Thanks, but now I get another error and I need

AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Müller, Markus
Hi, You get this message when you have the wrong encoding in your XML file ?xml version=1.0 encoding=wrongone?. The XML parser then gets a wrong input, not the required ?xml Markus $ -Ursprüngliche Nachricht- $ Von: Dipl.-Oec. Harald Meyer [mailto:[EMAIL PROTECTED] $ Gesendet:

AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
But in the XML file is this: ?xml version=1.0 encoding=UTF-8? I guess it is correct -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2003 15:42 An: [EMAIL PROTECTED] Betreff: AW: Upgrade 0.20.3 to 0.20.5rc Hi, You get

AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
Did you modify the source code? If not, try to omit the encoding tag or try iso-8859-1. No, I didn't modify the sorce code ( I am no Java programmer at all ). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: PNG in pdf

2003-03-19 Thread Valeiko, Michael
Hi, I am using jai for the rendering. Fop finds the classes, and I don't get any exceptions, however, the image just doesn't display correctly. The transparency is displayed as black. -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 6:40 PM

fo:block on a new page

2003-03-19 Thread Lee, Insoo
I have some fo:block(s) that need to start on a new page... However I like to make an exception for the first fo:block so that I don't get the first blank page... Is there any smart way to do it without introducing fo:conditional-page-master-reference? Thanks

RE: block on a new page

2003-03-19 Thread Partridge, Michael
Have you tried fo:block break-before=page on all the blocks? If you get a blank first page, just take that out of the first block. -Original Message- From: Lee, Insoo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:09 AM To: '[EMAIL PROTECTED]' Subject: fo:block on a new

Re: AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Clay Leeds
BTW, I don't know who recommended removing the encoding tag altogether, but it probably won't work. According to the XML Bible (pg 205 of the Gold Edition): Unless told otherwise, an XML processor assumes that all text entities are encoded in UTF-8. Since you're already getting an error, I

RE: PNG in pdf

2003-03-19 Thread Victor Mote
Valeiko, Michael wrote: I am using jai for the rendering. Fop finds the classes, and I don't get any exceptions, however, the image just doesn't display correctly. The transparency is displayed as black. I just searched through the archives and the bug lists, and don't see this addressed

RE: Euro sign Problem

2003-03-19 Thread Victor Mote
Lucian Opris wrote: I've purchased a Font Garamond Book and it doesn't have the euro sign integrated in it. How can I set up the config file for fop to read from two different PFB file in the same time (from GAW_.pfb and euro.pfb). I don't think you can do that. Some other possible

Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Philip Semanchuk
Hi all, What exactly is the most current FOP version? The home page says 0.20.5, but there's nothing in the news (http://xml.apache.org/fop/news.html) beyond the announcement of RC2's availability on Feb 18 2003. Bonus question =) Can anyone tell me why I get no results when I search the

table footer placement

2003-03-19 Thread Partridge, Michael
I've got a table with a header, footer, and just enough rows to make the footer spill onto a new page. I also set the attribute table-omit-footer-at-break to true. So I get this when transforming: [WARNING] footer could not fit on page, moving last body row to next page What actually happens,

Calling FOP from JNI

2003-03-19 Thread Richard Bell
I am trying to call FOP using JNI. I am having a peculiar problem. Calling on the thread on which the JVM is initialized is fine. But If I make the call from a new thread I get the following error. Any help I can get with this would be very much appreciated. Exception in thread "x#º"

Re: Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Jeremias Maerki
On 19.03.2003 22:12:02 Philip Semanchuk wrote: Hi all, What exactly is the most current FOP version? The home page says 0.20.5, but there's nothing in the news (http://xml.apache.org/fop/news.html) beyond the announcement of RC2's availability on Feb 18 2003. Latest version is indeed

right justifying table cell text

2003-03-19 Thread Afshartous, Nick
Title: right justifying table cell text Hi, I'm trying to rigth justify the text in a table cell. The chapter on tables in Pawson's book says that cell content may be horizontally aligned using the text-align property (valid values are start, center, end, and justify). No setting seems

RE: right justifying table cell text

2003-03-19 Thread Roland Neilands
Nick, I'm trying to rigth justify the text in a table cell. Use a block: fo:table-cell fo:block text-align=end Cheers, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problems with !{CDATA in docbook and fop

2003-03-19 Thread Jason Novotny
Jason Novotny wrote: Here's my fop output-- Thanks, Jason Oleg Tkachenko wrote: Jason Novotny wrote: I'm trying to use docbook and fop together and I have the following which renders in HTML fine: literallayoutprogramlisting ![CDATA[user username=tomcat password=tomcat roles=tomcat,manager/]]

Re: Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Philip Semanchuk
On Wed, 2003-03-19 at 16:41, Jeremias Maerki wrote: On 19.03.2003 22:12:02 Philip Semanchuk wrote: Hi all, What exactly is the most current FOP version? The home page says 0.20.5, but there's nothing in the news (http://xml.apache.org/fop/news.html) beyond the announcement of RC2's