Does render(dom) actually work?

2001-09-19 Thread Savino, Matt C
Hello everyone. By any chance can someone point me to some example code which uses render(dom)? No matter what combination of driver methods or Fop versions (.17,.19,.20.1) I use I seem to get the same error: building formatting object tree setting up fonts java.lang.NullPointerException

RE: Does render(dom) actually work?

2001-09-19 Thread Savino, Matt C
ring SAX events > transformer.transform( new > org.jdom.transform.JDOMSource( xml ), > saxResult ); > > YS > > -Original Message- > From: Savino, Matt C [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 19, 2001 4:33 PM > To: '[EMAIL

RE: Does render(dom) actually work?

2001-09-20 Thread Savino, Matt C
?? > > > > Christian > > > > -Ursprüngliche Nachricht- > > Von: Suhail Rashid [mailto:[EMAIL PROTECTED]] > > Gesendet: Donnerstag, 20. September 2001 06:29 > > An: [EMAIL PROTECTED] > > Betreff: RE: Does render(dom) actually work? > > &

RE: FOP with Java

2001-09-20 Thread Savino, Matt C
It's in batik.jar (at least my version that comes w/ 0.20.1) > -Original Message- > From: Carmelo Montanez [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 20, 2001 12:16 PM > To: [EMAIL PROTECTED] > Subject: Re: FOP with Java > > > > Thanks for the answer. Actually anyone knows

RE: FOP WARNING - Please Help!

2001-09-25 Thread Savino, Matt C
Shkuro, I have tried to replicate your solution and I still get strange errors. Here is the error I get: D:\Precision\RV40_Working\pvh>java FOtoPDF building formatting object tree building formatting object tree javax.xml.transform.TransformerException at org.apache.xalan.transformer.Tran

RE: FOP WARNING - Please Help!

2001-09-25 Thread Savino, Matt C
(I just realize this message might be pretty hard to read, so I added <<<>>> at the beginning and end of code and error blocks.) Shkuro, I have tried to replicate your solution and I still get strange errors. Here is the error I get: <<<>>> D:\Precision\RV40_Working\pvh>java FOtoPDF building for

RE: FOP WARNING - Please Help!

2001-09-26 Thread Savino, Matt C
ng the actual cvs version. There it works! Christian -Ursprüngliche Nachricht- Von: Savino, Matt C [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 26. September 2001 01:37 An: '[EMAIL PROTECTED]' Betreff: RE: FOP WARNING - Please Help! (I just realize this message might be pre

benchmarking question

2001-10-03 Thread Savino, Matt C
First of all, I would like to say that I'm very clear on FOP not being ready for official production. I've read all the disclaimers in the archives. But if it please the court, I'd like to run some numbers by the experts here just to get your quick opinions on whether these numbers seem about ri

RE: Newbie question: Error: Null

2001-10-03 Thread Savino, Matt C
I doubt if this is your problem, but have you made sure to define both the XSL and FO namespaces at the top of your XSL stylesheet? http://www.w3.org/1999/XSL/Transform " xmlns:fo=" http://www.w3.org/1999/XSL/Format

RE: FOP in WebSphere and some general notes (Was: Re: Using FOPi n Servlet)

2001-10-05 Thread Savino, Matt C
I agree about removing the libraries. I'm running large, simple reports on Weblogic (see my benchmarking post from a few days ago for details). Some sort of stripped down, built-for-speed, no-SVG, no-logging FOP that only uses the FOP, Xalan, and Xerces jars would be ideal for me. I'd be willing

RE: Total page count?

2001-10-19 Thread Savino, Matt C
Thanks a lot! That did the trick. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 19, 2001 4:15 AM > To: [EMAIL PROTECTED] > Subject: Re: Total page count? > > > > Stick this at the end of your flow: > > > Stick this where you want

RE: FOP Adobe 5.0

2001-10-22 Thread Savino, Matt C
I'm using Acrobat 5.0/Fop 20.2 and haven't seen any problems. -Original Message- From: Clute, Andrew [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 7:25 AM To: '[EMAIL PROTECTED] ' Subject: RE: FOP Adobe 5.0 I have no problems opening or moving through any PDF's generated w

RE: table-header with (Con't)

2001-10-23 Thread Savino, Matt C
I'd love to see that too. I can't figure out how you get the fo:page-number to be a condition in your XSLT stylesheet. Does FOP understand xsl:xxx commands? > -Original Message- > From: Jim Urban [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 8:39 AM > To: [EMAIL PROTECTED]

RE: table-header with (Con't)

2001-10-24 Thread Savino, Matt C
tion is done > prior to and > independently of the FO formatting. > > > > > > > "Savino, Matt C"

RE: table-header with (Con't)

2001-10-25 Thread Savino, Matt C
; generating Page 1 of 9, Page 2 of 9 etc. I need to generate > Page 1 of 3, > Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 > of 4 etc. How > do I go this? > > Thanks, > Jim > > -Original Message- > From: Savino, Matt C [mailto:[EMAIL PROTE

RE: table-header with (Con't)

2001-10-25 Thread Savino, Matt C
Anyone have any ideas? As powerful as FO is, I would think it would have some facility for this situation. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 8:54 AM > To: [EMAIL PROTECTED] > Subject: RE: table-header with (Con't)

RE: [Xslfo-proc-devel] Re: Crossposts

2001-11-01 Thread Savino, Matt C
Can someone point me to what xslfo-proc is? I searched Google and the Apache dev archives and couldn't find anything. Thx, Matt Savino > -Original Message- > From: Arved Sandstrom [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 7:35 AM > To: Peter B. West > Cc: fop-dev > S

RE: no visual tool for FOP?

2001-11-16 Thread Savino, Matt C
XMLSpy 4.1 has FO transformation built in as an option under the XSL menu. All you have to do is point it to FOP.bat. I guess you could call this a "visual tool". But I'm going to guess that what the original poster is looking for is some kind of a WYSIWIG PDF editor that manipulates the underlyin

RE: w3c.jar

2001-11-16 Thread Savino, Matt C
You don't need w3c.jar anymore. Some of the documentation hasn't been updated for a while. Go with what comes in the build. Trust java-docs over html-docs. > -Original Message- > From: Noel Coloma [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 6:53 AM > To: [EMAIL PROTECT

RE: New FOP Code Don't Work

2001-11-19 Thread Savino, Matt C
Make sure you have both namespaces in your stylesheet: http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> I spent several days wrestling with this one :( -Matt > -Original Message- > From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] > Sent: Monday, Nove

keep-with-next?

2001-11-19 Thread Savino, Matt C
It's my understanding that keep-with-next="always" at the row level is the only keep-="*" property currently implemented in FOP. Is this true? I've also noticed that if the number of rows included is too big to fit on one page, you get an endless loop. This makes keep-with-next unusable for me in

page numbering question

2001-11-20 Thread Savino, Matt C
I need to separately keep track of and print out page numbers within a sub-section of the master document. I could start a new page-sequence, but the problem is that I have a master header which needs to show the running page number of the entire document. Page >>> |-- Header --

RE: servlet called thrice on IE 4.0

2001-11-20 Thread Savino, Matt C
l Message- > From: Joerg Pietschmann [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 20, 2001 11:28 PM > To: FOP List > Subject: Re: servlet called thrice on IE 4.0 > > > "Savino, Matt C" <[EMAIL PROTECTED]> wrote: > > I know this has been di

RE: Problems with PCL Output

2001-11-21 Thread Savino, Matt C
alt-propeller-F13 sorry, it's late -Matt > -Original Message- > From: Ulrich Mayring [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 1:23 AM > To: [EMAIL PROTECTED] > Subject: Re: Problems with PCL Output > > > > Martin Roob wrote: > > > > 2. There is no EURO-sign in

RE: keep-with-next, orphans, widows

2001-11-26 Thread Savino, Matt C
It's my understanding, that right now keep-with-next is only implemented on the table-row element. What's more, you can only use it when you know you will not have any more rows than will fit on a page. Otherwise FOP goes into an endless loop. > -Original Message- > From: Jörg Flotho [m

min table or table-cell height?

2001-11-27 Thread Savino, Matt C
Is there any way to make sure a table border extends to the bottom of the page (minus margins)? A picture may help. This is the structure of my document. The '-'s and '|'s represent actual line borders: --- | Header (fo:region-before) | ---

RE: problem : centered table in FO [FAQ]

2001-11-28 Thread Savino, Matt C
Hey Corrinna, this might actually help for my problem as well (see Subj: min table or table-cell height?). My only question is, how do I create a table as large as the page body? I knwo how to set the column width, but is there any way to set the row or cell height? thx, Matt -Original

RE: Servlet called twice

2001-10-09 Thread Savino, Matt C
Could you attach your servlet and html source? I have a link mapped to a servlet and it doesn't get called twice by either browser. (Although I haven't tested with IE 4.0 yet). Unless you're talking about the strange behavior you get from IE when you use: response.setHeader("Content-Dispos

fo:external-graphic question

2001-11-30 Thread Savino, Matt C
Has anyone figured out a way to use a relative path with the "file:..." protocol in fo:external-graphic? The path below works on my Unix boxes. The probem is I develop in an NT box and I'm getting tired of changing my stylesheets every time I upload to the staging or porduction servers. This is

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Savino, Matt C
Jim, I've attached the servlet that we use to handle a simlar issue issue to what you describe. This serlvet handles both HTML and PDF requests and calls either method based on a parameter in the user's session (which could just as easily be in the request). Maybe it will help. > -Original Me

RE: xsl:choice

2001-12-10 Thread Savino, Matt C
We'll I'll be darned. I didn't know you could use multiple when's like that. thx a lot -Matt > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 3:28 PM > To: [EMAIL PROTECTED] > Subject: RE: xsl:choice > > > I think what Scot

RE: column color

2001-12-10 Thread Savino, Matt C
Try putting backgound-color in the table-cell element. You can even put it in the table-column element if it makes sense to do so. Also, since you explicitly define the width of columns ahead of time, you should never need a spacer image like you do in HTML. > -Original Message- > From:

RE: Performance difference between Unix and PC

2001-12-18 Thread Savino, Matt C
Below I've pasted an excerpt from a post to this board a few months back. I also posted a variation of the same question on the Weblogic.performance newsgroup. The answer I got back was that basically that performance difference didn't sound surprising considering the processor speed. Which came a

RE: weblogic and fop

2002-01-02 Thread Savino, Matt C
Here is the servlet we use to generate PDF and HTML from XML which is stored in the user's session on Weblogic 6.1. There is some extra stuff in it, but you should be able to filter the relevant parts. It also has a partial fix to the IE-pre-5.0 servlet called twice or three times problem. I'm wor

RE: image protocal in Fop on unix

2002-01-02 Thread Savino, Matt C
This works for me: If you figure out how to use a relative path, PLEASE let me know. -Matt > -Original Message- > From: Maneshi Tuli [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 02, 2002 12:26 PM > To: [EMAIL PROTECTED] > Subject: image protocal in Fop on unix > > > > > h

RE: image protocal in Fop on unix

2002-01-02 Thread Savino, Matt C
/> > > > plz help me find out , what is the cause of this > thanks > > > > > -------- Message History > > > > From: "Savino, Matt C" <[EMAIL PROTECTED]> > on 01/02/2002 03:23 PM > > Please respond to [EMAIL PR

Servlet called multiple times solved

2002-01-03 Thread Savino, Matt C
Thanks to David Frankson and the other members of this board, I have finally fully solved the problem with IE calling FOP two or three times problem. The first solution came from this: http://support.microsoft.com/support/kb/articles/Q293/7/92.ASP But if you read the fine print, you notice that

RE: Servlet called multiple times solved

2002-01-03 Thread Savino, Matt C
ource, > saxResult); > > // The user is already viewing the PDF! > out.flush(); > out.close(); > } > catch (TransformerException e) > { > Syste

RE: Servlet called multiple times solved

2002-01-03 Thread Savino, Matt C
January 03, 2002 1:08 PM > To: [EMAIL PROTECTED] > Subject: RE: Servlet called multiple times solved > > > Thanks for sharing this Matt. I was just going down this road > (caching) > myself. This will save an afternoon or more. regards, mike > > > -Original M

RE: AW: FOP-XSL:dynamic external graphics

2002-01-07 Thread Savino, Matt C
Thanks a lot, that did the trick. I knew there was a way to use global parameters, but hadn't had time to look into it. Nothing speeds development like cutting and pasting from an email straight into your code and having it work the first time! -Matt > -Original Message- > From: Mark R

RE: Any real-life business use ?

2002-01-14 Thread Savino, Matt C
Our app is in live beta testing right now. We use FOP to generate printable versions of a lab report and 5 canned mgmt. reports. (I've included a demo copy of the lab report, just to show some of what FOP can do.) So far the only limitations we've found are: 1) Memory. Fop runs out of memory on l

.20.3 compatibility

2002-02-12 Thread Savino, Matt C
I've recently tried to upgrade to FOP .20.3. I'd like to know if there's any way to avoid having to use avalon-framework-4.0.jar and logkit-1.0b4.jar. I really like my .20.2 with just fop.jar and batik.jar. Also I liked the performance bechmarking that .20.2 used to output to the console. Any way

RE: newbie needs help with relative address for image.

2002-02-12 Thread Savino, Matt C
FYI - I still can't get this to work for a relative file path. Since I have NT dev boxes and Unix QA and Prod, I have to feed the explicit PDF filepath to the stylesheet as a parameter. I get the filepath form a environment-level properties file. Still looking for that elusive XSLT relative filepa

RE: [Understanding] FO Tree

2002-02-14 Thread Savino, Matt C
Understood. So when can we expect [Understanding] FO Tree[4]? Sorry, I couldn't resist :P -Matt > -Original Message- > From: Sachin Oswal [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 2:07 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [Understanding] FO Tree > > > Hi Mi

RE: Using Avalon/Logkit

2002-02-27 Thread Savino, Matt C
I just tried to plug in fop .20.3 to an existing app that uses .20.2. I included the new avalon jar in my classpath, but I still get a logging error. From an end user persepective, I would just like to suggest that when you add a new component between non-version build changes that breaks the old

RE: Using Avalon/Logkit

2002-02-28 Thread Savino, Matt C
I figured I'd go ahead and upadate my generator servlet to use all that log code like the one in your new example. Then if still breaks, I will let you know. thanks a lot, Matt > -Original Message- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002

RE: Example extension

2002-03-04 Thread Savino, Matt C
Sorry to reply to my own question, but I figured I'd bring this up one more time before it gets buried. If there's any way either of the problems described below can be solved, it would be huge to my project. Mainly I just want to know if anyone knows off the top of their head: 1) Is there some F

RE: FO -> PDF works with Netscape, not with IE

2002-03-04 Thread Savino, Matt C
If you have to support older verisons of IE (<5.5), you'll also have to take a couple of steps to avoid calling FOP 2 or 3 times. One you'll want to look out for User-Agent='contype' in the request header, and only return the content type, not the actual content. But this isn't enough (even though

RE: FO -> PDF works with Netscape, not with IE

2002-03-05 Thread Savino, Matt C
gt; Does anyone has a working servlet which serves PDF requests > in one shot. > > Thanks > Bh > > -Original Message- > From: Savino, Matt C [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 5:00 PM > To: '[EMAIL PROTECTED]' > Subject:

RE: FO -> PDF works with Netscape, not with IE

2002-03-05 Thread Savino, Matt C
nt); >response.getOutputStream().flush(); > > } > catch (Exception ex) { throw new ServletException(ex); } >} > > > At 17:11 05/03/02, [EMAIL PROTECTED] wrote: > >how do you set the no-cache for the output header going out > of the servlet, >

RE: Example extension

2002-03-05 Thread Savino, Matt C
Thanks Chuck. I think I can actually get this to work if I move my current table header into a separate mirror table in the region-before. But at least on my lab report, it's going to involve moving a whole lot of the nested table structure into static-content. Also the table headers will stop l

RE: Web site update request

2002-03-07 Thread Savino, Matt C
There seem to be several approaches to this problem rather than one magic bullet. I'd be glad to explain my solution and listen to others in the processing of hammering out the FAQ entry. -Matt > -Original Message- > From: Keiron Liddle [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Ma

RE: Error with 20.0.3!

2002-03-12 Thread Savino, Matt C
MostFrequentlyAskedQuestion Just adding a keyword to this thread for future archive search pointers. Matt > -Original Message- > From: David B. Bitton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 9:13 AM > To: [EMAIL PROTECTED] > Subject: Re: Error with 20.0.3! > > > Sn

RE: Using Avalon/Logkit

2002-03-13 Thread Savino, Matt C
> Look, does anyone else out there agree or disagree with me? Am I > flogging a dead horse? Barking up the wrong tree? I tend to agree. I'm very happy with the output I get right now from FOP .20.2 - especially the ms/page benchmarking. I also find useful the error output and warnings, which go

RE: Using FOP with xmlspy

2002-03-18 Thread Savino, Matt C
I know FOP through XMLSpy doesn't work on NT, I think that may apply to Win98/95 as well. Matt Savino > -Original Message- > From: Malcolm Sinclair [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 3:08 PM > To: [EMAIL PROTECTED] > Subject: Using FOP with xmlspy > > > Please