Re: Upgrade 0.20.3 to 0.20.5rc

2003-03-20 Thread J.Pietschmann
Dipl.-Oec. Harald Meyer wrote: By the way ... the / by zero error was already posted in January, but I didn't find any solution for it. Has anyone some hints for me? ;-) IIRC this was a problem with either the Xerces or Xalan jar packaged with FOP 0.20.3. Upgrading the jars should solve it.

Re: AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-20 Thread J.Pietschmann
Dipl.-Oec. Harald Meyer wrote: org.xml.sax.SAXParseException: Content is not allowed in prolog. Check your XML source files whether there is something before the XML declaration (i.e. the line ?xml version...?). There must not be anything before it, not even an empty line. I vaguely remember that

Re: Installing to FOP / Tomcat

2003-03-20 Thread J.Pietschmann
Jeremias Maerki wrote: - got an error message about an invalid servlet element. - looked at the web.xml and realized that all servlet-mapping elements must come after the servlet elements. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html - fixed web.xml and rebuilt

Re: anchor block to bottom of page? (footnote margin problem)

2003-03-20 Thread J.Pietschmann
phillip rhodes wrote: The margins of the footnote are not the same as the calling region (the region that I define my footnote in, which is xsl-region-body) Footnote bodies inherit start-indent and end-indent from the block where they are defined, which may cause this problem. Check whether an

Re: wrapping xsl-region-after

2003-03-20 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: This may seem like a strange request, but I have a user asking if the footer (xsl-region-after) of a report page can wrap to the next page if there is too much data to fit into the context area. The spec does not provide easy mechanisms for this. You could experiment with

Re: number-rows-spanned - Faster?

2003-03-20 Thread J.Pietschmann
Clay Leeds wrote: Is it faster to nest my fo:tables or to use number-rows-spanned to create more complicated tables? I'd try nested tables first, cells spanning rows occasionally create nasty problems at page breaks. J.Pietschmann

Re: how to specify XML parser used by fop

2003-03-20 Thread phillip rhodes
If FOP uses jaxp, it would take whatever is the default parser. You can set this property on the command line We should definitely be using jaxp. Here is some docs I found on how to do this. SAX Parser Configuration The SAX Plugability classes allow an application programmer to provide an

Re: problems with !{CDATA in docbook and fop

2003-03-20 Thread Oleg Tkachenko
Jason Novotny wrote: fo:block = space-before.optimum=1em space-before.maximum=1.2em Here it is. It's not wellformed XML, if you get it from docbook xsl, report a bug or try another xslt processor. -- Oleg Tkachenko Multiconn Technologies, Israel

Re: Installing to FOP / Tomcat

2003-03-20 Thread Jeremias Maerki
I don't know. Maybe my bad when I reorganized the directory structure. On 20.03.2003 03:12:47 J.Pietschmann wrote: Jeremias Maerki wrote: - got an error message about an invalid servlet element. - looked at the web.xml and realized that all servlet-mapping elements must come after the

Bug??

2003-03-20 Thread MARTIN Franck
Hi all, I have tried the latest version of fop and i get an error message that i did not have with version 0.20.3 : org.apache.fop.apps.FOPException: Flow 'global-region-body' does not map tothe region-bodyin page-master 'even-page' is this a bug in FOP or in my XSL stylesheet?? I have a

AW: messages in fop

2003-03-20 Thread Müller, Markus
Title: Nachricht Hi, you can use the following to make your transformation verbose: xsl:message terminate="no"My Messagexsl:value-of select="foo"/[eom]/xsl:message The messages appear at the console output of fop. Markus -Ursprüngliche Nachricht-Von: Myriam Delperier

Re: messages in fop

2003-03-20 Thread Myriam Delperier
Title: Nachricht | Hi,| | you can use the following to make your transformation verbose:| xsl:message terminate="no"My Messagexsl:value-of| select="foo"/[eom]/xsl:message | The messages appear at the console output of fop.yes but unfortunately the message appears during the transformation

RE: messages in fop

2003-03-20 Thread John Marshall
Title: Nachricht Thanks guys; you solved a problem for me that I thought was due to a major misunderstanding of XPath and turned out to be a typo. John Marshall -Original Message-From: "Müller, Markus" [mailto:[EMAIL PROTECTED]Sent: 20 March 2003 08:54To: [EMAIL

Re: Printing using Java

2003-03-20 Thread Ralf Butterweck
Hi, I have the some problem that fop produces different outputs by writing a pdf-file, 'fop -print' or 'printing -pcl' My workaround is to let fop produce a pdf-file and then print this file (The variable outfile contains the name of the pdf-file): Windows NT:

RE: right justifying table cell text

2003-03-20 Thread Afshartous, Nick
Title: RE: right justifying table cell text I'm trying to rigth justify the text in a table cell. Use a block: fo:table-cell fo:block text-align=end Thanks Roland. I've tried using text-align=end but for some reason its not having the desired result in my case. I'm trying to align

RE: right justifying table cell text

2003-03-20 Thread Afshartous, Nick
Title: RE: right justifying table cell text I'm trying to rigth justify the text in a table cell. Use a block: fo:table-cell fo:block text-align=end Ok, now I see why text-align=end does not work in my case. Its because the text-align does not seem to have any effect on the text

RE: Installing to FOP / Tomcat

2003-03-20 Thread Adam Shelley
I installed the 0.20.5rc2 and the web.xml for fop.war was what it should be. it was 0.20.4 that was the problem. -Adam -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: March 19, 2003 6:13 PM To: [EMAIL PROTECTED] Subject: Re: Installing to FOP / Tomcat Jeremias

Total memory used negative

2003-03-20 Thread Koes, Derrick
What does it mean if my debug log shows total memory used as negative? Overflow? Can I change the memory parameters for FOP specifically if I'm running embedded? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It

java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread Tammy Feichtel
I need some help here. I am trying to write a java app which uses the FOP libraries. The classpath contains the following: C:\j2sdk1.4.1\bin\javaw.exe -classpath

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread Adam Shelley
Hello, I just spend a bunch of time trying to get 0.20.4 up and running. Save yourself some greif and upgrade to 0.20.5rc2. Its package is more complete and it works pretty much out of the box. i think 0.20.4 needs to be recompiled to include the avalon logging mechanism (i could be

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/l ogger/Logger

2003-03-20 Thread Koes, Derrick
Does the org.apache.avalon.framework.logger.Logger class exist in the Avalon jar? Unjar it and check. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:34 AM To: [EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError:

Unicode cmap table not present

2003-03-20 Thread Daniel, Gillian
I am hoping that someone will have encountered this problem before. I am using fop version 0.20.5 and I am trying to create a metrics file for my cyrillic font using fop (following the instructions on the fop website) and I get the following error for most of my fonts. I would like to add

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread Tammy Feichtel
I went ahead and upgrated to 0.20.5rc2 and believe it or not am STILL getting the same error. Here is my new classpath: C:\j2sdk1.4.1\bin\javaw.exe -classpath

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread Tammy Feichtel
I spoke too soon. I just found that I had a 0.20.4 fop.jar file in jre/lib/ext that was messing things up after the upgrade. Ive moved on to different errors but Im sure thats just programming logic. Thanks again Adam for the tip! Tammy S. Feichtel Systems Analyst/Architect

AW: Unicode cmap table not present

2003-03-20 Thread Mark Baier
Hi Gillian, your fonts are not in unicode format, so the font metrics could not be generated. I've encountered the same problem a few monts ago. Either you buy some cyrillic fonts which are in unicode format, or you use a font program to build up a unicode formatted font. greez, Mark

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/l ogger/Logger

2003-03-20 Thread Koes, Derrick
Are you doing something like: Log4JLogger log4j = new Log4JLogger(logger); MessageHandler.setScreenLogger(log4j); -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: RE:

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread Tammy Feichtel
Ive actually moved on to a different NoClassDefFoundError. This time it says it cannot find org/apache/fop/system/BufferManager Here is the code its pretty much the same as the example theyve provided for converting XML to PDF: Logger logger = null; //Construct driver Driver

RE: Where is BufferManager

2003-03-20 Thread Koes, Derrick
Successfully using 0.20.5rc2 embedded with J2SDK 1.4.1_01 from Sun. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: Where is BufferManager Hi all! I have just upgrated to FOP

RE: Where is BufferManager

2003-03-20 Thread Tammy Feichtel
Well I dont know how you are doing it. My code just blows up when trying to create an instance of Driver! -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 20, 2003 2:05 PM To: '[EMAIL PROTECTED]' Subject: RE: Where is BufferManager

RE: Where is BufferManager

2003-03-20 Thread Victor Mote
Tammy Feichtel wrote: -- Start -- I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at

RE: Where is BufferManager

2003-03-20 Thread Tammy Feichtel
I don't even have an old release on my system! The only other version I had installed was 0.20.4 and I removed the entire directory. Here is the class path I am using: C:\j2sdk1.4.1\bin\javaw.exe -classpath C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.

RE: Where is BufferManager

2003-03-20 Thread Koes, Derrick
Post the code snippet. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:17 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Where is BufferManager I don't even have an old release on my system! The only other version I had

RE: Where is BufferManager

2003-03-20 Thread Victor Mote
Tammy Feichtel wrote: I don't even have an old release on my system! The only other version I had installed was 0.20.4 and I removed the entire directory. Here is the class path I am using: C:\j2sdk1.4.1\bin\javaw.exe -classpath

RE: Where is BufferManager

2003-03-20 Thread Tammy Feichtel
Here's the skinny: 1) I'm connecting to an Oracle817 database to gather the data to create the XML. 2) I create the XML file locally (works fine up to this point) 3) I attempt to call the following function after the XML file is created and blammo! public static void convertXML2PDF(File xml,

Re: right justifying table cell text

2003-03-20 Thread J.Pietschmann
Afshartous, Nick wrote: Thanks Roland. I've tried using text-align=end but for some reason its not having the desired result in my case. I'm trying to align the page numbers in a TOC. This is a FAQ: http://xml.apache.org/fop/faq.html#page_number_align The problem will be fixed in the next

Re: Bug??

2003-03-20 Thread J.Pietschmann
MARTIN Franck wrote: I have tried the latest version of fop and i get an error message that i did not have with version 0.20.3 : org.apache.fop.apps.FOPException: Flow 'global-region-body' does not map to the region-body in page-master 'even-page' is this a bug in FOP or in my XSL stylesheet??

Re: Total memory used negative

2003-03-20 Thread J.Pietschmann
Koes, Derrick wrote: What does it mean if my debug log shows total memory used as negative? Overflow? No. It means you can't trust the JVM free memory indication, one of the reasons being thath GC runs in a separate thread (there are more). Free memory measurement is a hint, at best. Can I change

Re: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2003-03-20 Thread J.Pietschmann
Tammy Feichtel wrote: I've actually moved on to a different NoClassDefFoundError. This time it says it cannot find org/apache/fop/system/BufferManager The BufferManager had been removed quite some time ago. You apparently still have an old FOP jar in the classpath. J.Pietschmann

repeat fo:table-row on a new page?

2003-03-20 Thread Lee, Insoo
Hello - I have a long table that spans over a number of pages. I have a fo:table-header repeat over multiple pages - using table-omit-header-at-break=false I have some sub column titles in fo:table-rowfo:table-cell /fo:table-row/fo:table-cell that need to be also repeated on a new page.

RE: repeat fo:table-row on a new page?

2003-03-20 Thread Roland Neilands
I have a long table that spans over a number of pages. I have a fo:table-header repeat over multiple pages - using table-omit-header-at-break=false I have some sub column titles in fo:table-rowfo:table-cell /fo:table-row/fo:table-cell that need to be also repeated on a new page. How

Re: repeat fo:table-row on a new page?

2003-03-20 Thread J.Pietschmann
Lee, Insoo wrote: Hello - I have a long table that spans over a number of pages. I have a fo:table-header repeat over multiple pages - using table-omit-header-at-break=false I have some sub column titles in fo:table-rowfo:table-cell /fo:table-row/fo:table-cell that need to be also repeated