cvs checkout questions: MAIN and 0.20 maintenance branches

2003-03-20 Thread Mazza, Glen R., ,CPMS
Hello, I am trying to check out a copy of the MAIN and maintenance branches from the Apache CVS server. Per the instructions at http://xml.apache.org/cvs.html, the following appeared to work well to get the 0.20 maintenance branch: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout -d fo

Re: repeat 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 repeat over multiple pages - using table-omit-header-at-break="false" I have some sub column titles in that need to be also repeated on a new page. How would I repeat them? You could try a nested ta

RE: repeat 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 repeat over multiple pages - using > table-omit-header-at-break="false" > > I have some sub column titles in > that need to be also repeated > on a new page. > How would I repeat them? Just add another row in the table-hea

repeat 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 repeat over multiple pages - using table-omit-header-at-break="false" I have some sub column titles in that need to be also repeated on a new page. How would I repeat them? Thanks IL -

Re: Performance improvement tip [was: Where is BufferManager]

2003-03-20 Thread Jeremias Maerki
I see that my example source code is put to good use. I've realized during the last few days that there is little room for improvement: Applying a BufferedOutputStream to the FileOutputStream may (!) improve performance a bit. Compare this to the original below: OutputStream out = new java.io.

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 -

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: 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?? Th

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 relea

RE: Where is BufferManager

2003-03-20 Thread Tammy Feichtel
Victor, I'm afraid it is my turn for some humble pie. When I double checked c:\centocor\java\classes I noticed an "org" directory where there was an old Driver.class file. Yesterday one of my colleagues was trying to assist and compiled it locally. That was the problem. My hat is off to you.

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: 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 > C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets

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 insta

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. 1\jre\lib\jaws.j

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 org.apache.fop.apps.Driver.(Drive

RE: Where is BufferManager

2003-03-20 Thread Tammy Feichtel
Well I don’t 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 BufferManage

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 0.2

Where is BufferManager

2003-03-20 Thread Tammy Feichtel
Hi all!   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 org.apache.fop.apps.Driver.(Driver.java:194)

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

2003-03-20 Thread Tammy Feichtel
I’ve actually moved on to a different NoClassDefFoundError.  This time it says it cannot find org/apache/fop/system/BufferManager   Here is the code – it’s pretty much the same as the example they’ve provided for converting XML to PDF:       Logger logger = null;       //Cons

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: java.lang.N

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 -Urspr

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.  I’ve moved on to different errors but I’m sure that’s just programming logic.   Thanks again Adam for the tip!   Tammy S. Feichtel Systems Analyst/Architect

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 C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2

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

2003-03-20 Thread Tammy Feichtel
I did check that already – the Logger.class file is in avalon.jar.   Tammy S. Feichtel Systems Analyst/Architect Glemser Technologies email: [EMAIL PROTECTED] phone: 610-317-9400 Ext. 4151 mobile: 610-349-6208     -Original Message- From: Koes, Derrick [mailto:[EMAIL P

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 though

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: org/a

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

2003-03-20 Thread Tammy Feichtel
Thanks Adam,  I’ll give that a shot!   Tammy S. Feichtel Systems Analyst/Architect Glemser Technologies email: [EMAIL PROTECTED] phone: 610-317-9400 Ext. 4151 mobile: 610-349-6208     -Original Message- From: Adam Shelley [mailto:[EMAIL PROTECTED] Sent: Thursday, Mar

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

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 C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar

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

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 Ma

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: > >     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 that is generated via the

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: > >     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

Scaling of SVG in FOP doesn't work

2003-03-20 Thread Steinar Bang
Platform: debian testing/unstable (Sarge), DocBook XML 4.1.2, DocBook XSL 1.60.1, Dia 0.90, FOP 0.20.5rc2 At the end of this message is a DocBook fragment including an SVG figure, with scaling. Imediately following, is a Tidy'd XSL:FO fragment generated by

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: Runtime.getRuntime().exec

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 PROTECTED]Subje

Re: messages in fop

2003-03-20 Thread Myriam Delperier
Title: Nachricht | Hi,| | you can use the following to make your transformation verbose:| My Message| select="foo"/>[eom] | The messages appear at the console output of fop.yes but unfortunately the message appears during the transformation between xml to fo and not fo to pdf..

AW: messages in fop

2003-03-20 Thread "Müller, Markus"
Title: Nachricht Hi,   you can use the following to make your transformation verbose: My Message[eom] The messages appear at the console output of fop.   Markus -Ursprüngliche Nachricht-Von: Myriam Delperier [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. März 2003 09:4

messages in fop

2003-03-20 Thread Myriam Delperier
hi i'd like to know if there's a way to get messages when transforming fo to pdf with fop. something like an element As i've got problems with some arrays it would help me to know on which table my problem is for example thanks

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 hav

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 afte

Re: problems with

2003-03-20 Thread Oleg Tkachenko
Jason Novotny wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

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 implem

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: 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 f

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 ance

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 fop.w

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 ). There must not be anything before it, not even an empty line. I vaguely remember that this could also b

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. J.Pie