AW: barcode4j NoSuchMethod Exception

2005-03-01 Thread David Preuss
Hi Jeremias, thanks for your immediate help but I tried it first with the provided file in the dist. After that was not succesfull I tried with the newest avalon-framework and then even tried with upgrading jre to 1.4.2_07 Dont know what to do next, thanks in advance for your contribution to

Re: AW: barcode4j NoSuchMethod Exception

2005-03-01 Thread Jeremias Maerki
Hi David, I've just rechecked everything. The Avalon Framework JAR distributed with FOP 0.20.5 is lacking (among other things necessary for Barcode4J) exactly the method that you showed in your stack trace. Barcode4J 1.0 comes with avalon-framework-4.1.5.jar which has the necessary methods. I

re:barcode4j NoSuchMethod Exception

2005-03-01 Thread d . preuss
Dear Jeremias, (B (BI got it. somehow strange but in the build directory of the fop dist I (Bfound one of the outdated avalon jars. After removing this it worked like (Ba charm. Thanks for providing so much help, (B (Bcheers (B (BDavid (B (B

Re: barcode4j NoSuchMethod Exception

2005-03-01 Thread Jeremias Maerki
I'm glad you were able to solve the problem. Just an additional comment: The following JARs are not needed by Barcode4J's FOP extension: - commons-cli-1.0.jar (only used for the command-line of B4J) - jdom.jar (The FOP extension uses a W3C DOM) On 01.03.2005 09:43:08 d.preuss wrote: Hello

Re: Upper Limit on XML File Size?

2005-03-01 Thread Per Gunnar Hansø
I'm sorry for not being able to reply properly to the mail in question, and I hope you can bear over with me that I forge this reply like this. Ram Krishnamoorthi wrote: I am calling the Transformation from the command line and attempting to create a FO Object xalan.sh -IN XMLFile -XSL XSLFile

CMYK ... the return ;)

2005-03-01 Thread Pierre-Yves Landuré
Hi everyone ;) At first, i want to thanx all of FOP developpers for this great piece of software ;) you rocks, guys ;) I hope the new branch will come to life soon ;) The reason of this post is that i'm in need of a fo processor that support CMYK... This question has been ask many times on

FOP inside Tomcat 5

2005-03-01 Thread Joern . Karthaus
Hello List I Use FOP to generate a PDF File from a SVG Grafik When I Use the Servlet Code from a Standalone Appication everything woks fine. But when the Code is called from the Servlet Container (Tomcat) I got this strange Error java.lang.NoSuchMethodError:

Re: FOP inside Tomcat 5

2005-03-01 Thread jeb501
Hi all , I am conversant with using FOP from DOS mode, How to use it or to start using it with servlet. any help greatly appreciated Regards Eugene [EMAIL PROTECTED] 01.03.2005 16:23 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject FOP inside Tomcat 5 Hello

Re: FOP inside Tomcat 5

2005-03-01 Thread Konstantin Priblouda
It seems that you have some classloading issue, or wrong jar bundled with your application. Or your classloader is going amok... regards, --- [EMAIL PROTECTED] wrote: Hello List I Use FOP to generate a PDF File from a SVG Grafik When I Use the Servlet Code from a Standalone

fo:flow must contain block-level children

2005-03-01 Thread Neeru . Bhardwaj
I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode

RE: flow must contain block-level children

2005-03-01 Thread Dennis Myrén
Neeru, You can test if there are any occurrences of CodeDecode, if not then just write out an empty block: fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:choose xsl:when test=0 lt; count(CodeDecode) xsl:apply-templates

Re: fo:flow must contain block-level children

2005-03-01 Thread Glen Mazza
The problem I think is with your XSLT--you should not output an fo:page-sequence if you have no block-level children to generate to begin with. I'm not an XSLT guru, but I don't think it is that hard to do. Would anyone have a sample? Thanks, Glen --- [EMAIL PROTECTED] wrote: I get

RE: flow must contain block-level children

2005-03-01 Thread Lawford, Mark : Enable
It looks to me like the test needs to wrap the page sequence. That way, if there are any occurrences of CodeDecode they are written in a page sequence, otherwise no page is writte (empty or otherwise). xsl:if test=0 lt; count(CodeDecode) fo:page-sequence master-reference=page3 fo:flow

RE: flow must contain block-level children

2005-03-01 Thread Glen Mazza
I don't think that helps, because he still gets the empty fo:block and hence the blank page. But by rearranging your code, perhaps this will work instead: xsl:choose xsl:when test=0 lt; count(CodeDecode) fo:page-sequence master-reference=page3 fo:flow flow-name=body3

RE: flow must contain block-level children

2005-03-01 Thread Dennis Myrén
Yes, of course. Sorry. Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 17:14 To: [EMAIL PROTECTED] Subject: RE: flow must

international conference on Scalable Vector Graphics

2005-03-01 Thread Ruud Steltenpool
Dear Batik- and FOP-users, I hereby like to bring SVG Open 2005 to your attention. At this 4th international conference and exhibition on Scalable Vector Graphics the versatility of the format will be shown by a broad range of applications and professional backgrounds of the attendees from

check to see if newpage is created

2005-03-01 Thread Jaysheel Bhavsar
Hi, I am displaying some text on one of the pages, and some times the text might be long enough that a new page is created. Is there a way to check if a new page is created so I put some page title eg. (cont...) or something else. Thanks Jaysheel.

Re: check to see if newpage is created

2005-03-01 Thread JBryant
If you are using static-content blocks to create headers and footers, you'll automatically get that content on the new page. You can also put a running title in the header or footer. If you make the header area big enough and apply the same style choices to the running title, I suppose you

Re: check to see if newpage is created

2005-03-01 Thread Glen Mazza
I think he can, although I don't have an exact example for him--[1] may come close. It would be convoluted, and I'm unsure whether it works in FOP, but: Basically, he wants the static header to be different on pages after one, if there is more than one page. That normally indicates using a

re:barcode4j NoSuchMethod Exception

2005-03-01 Thread d . preuss
Hello Jeremias, (B (BBarcode4J 1.0 comes with avalon-framework-4.1.5.jar which has the (Bnecessary methods. I suspect you didn't remove the old (Bavalon-framework-cvs-20020806.jar that comes with FOP from the (Bclasspath. If you have two versions of the same JAR in the classpath, (Bthe JVM