Re: DTMException ?

2003-05-06 Thread J.Pietschmann
Jeremias Maerki wrote: You've got to go to the Xalan guys with this. This has nothing to do with FOP. It's a characteristic problem with the Xalan distributed with one of the 1.4 JDKs. J.Pietschmann - To unsubscribe, e-mail: [EMAIL

Re: Trying to render lines different ways

2003-05-06 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I can;t see why the extra line of 'line4line5line6' is being printed. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17472 J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Parser Problem

2003-05-06 Thread Jeremias Maerki
You can't do that. You can't just change the XSL code on the fly. xsl:value-of normally writes its result to the output XML to which the XSLT engine has no access anymore. You can also write its result to a xsl:variable but you still can't have any XSLT code in there. You need to find another way

Re: getting a duplicate image in a short file

2003-05-06 Thread Jeremias Maerki
On 06.05.2003 14:08:16 Robert P. J. Day wrote: > On Tue, 6 May 2003, Jeremias Maerki wrote: > > > Yup. CVS tag "fop-0_20_2-maintain" as described here: > > http://xml.apache.org/fop/dev/index.html > > ironically, i just figured that out. so to clarify the > differences between the branches and

Parser Problem

2003-05-06 Thread Elmar . Hurni
Hello I am on look for a but i don't know whether it exist. My Problem: In a XSL File i start a Java-Class and return a String with the follow content "". The Class ist started in the following Tag: If i start the Xalan now, the Function in value-of does run and returns . Afterwards it goes to

Re: getting a duplicate image in a short file

2003-05-06 Thread Robert P. J. Day
On Tue, 6 May 2003, Jeremias Maerki wrote: > Yup. CVS tag "fop-0_20_2-maintain" as described here: > http://xml.apache.org/fop/dev/index.html ironically, i just figured that out. so to clarify the differences between the branches and possible downloads: 1) 0.20.5rc2 is the current release candi

Re: getting a duplicate image in a short file

2003-05-06 Thread Jeremias Maerki
Yup. CVS tag "fop-0_20_2-maintain" as described here: http://xml.apache.org/fop/dev/index.html On 06.05.2003 13:33:17 Robert P. J. Day wrote: > On Mon, 5 May 2003, Victor Mote wrote: > > > Robert P. J. Day wrote: > > > > > i first tried to solve this with the latest CVS FOP build, > > > which

RE: getting a duplicate image in a short file

2003-05-06 Thread Robert P. J. Day
On Mon, 5 May 2003, Victor Mote wrote: > Robert P. J. Day wrote: > > > i first tried to solve this with the latest CVS FOP build, > > which is *definitely* not ready for prime time. > > As mentioned in my post on the other thread, you probably have built the > trunk code, and you are correct,

Re: Problem loading images in PDF with FOP

2003-05-06 Thread John Walker
Thankx Jeremias! I had the additional problem that the classpath that tomcat loads it's not the system classpath but his own defined in a configuration file (it had been a tricky search). Finally works... Jeremias Maerki escribió: It's a known problem. Just make sure you've got batik.jar in

Re: Problem loading images in PDF with FOP

2003-05-06 Thread Jeremias Maerki
It's a known problem. Just make sure you've got batik.jar in the classpath even if you don't need it. On 06.05.2003 10:46:38 John Walker wrote: > Hi all! I'm trying to transform an XSL-FO file to PDF in a servlet with > FOP embedded. I'm using FOP 0.20.4, JDK 1.4.0 and Tomcat 4.0.2. > Everything

Re: Trying to render lines different ways

2003-05-06 Thread Jeremias Maerki
Not really a FOP question, right? An XSL-dedicated list would have been more appropriate. :-) Anyway, I've attached a ZIP (with XML and XSL) that demonstrates what you want to do. On 06.05.2003 08:41:20 Julie.Hansen wrote: > I am fairly new to fop and have come across a problem that I am finding

Problem loading images in PDF with FOP

2003-05-06 Thread John Walker
Hi all! I'm trying to transform an XSL-FO file to PDF in a servlet with FOP embedded. I'm using FOP 0.20.4, JDK 1.4.0 and Tomcat 4.0.2. Everything works, but when there's an image in the XSL-FO like this: the next exception occurs: javax.servlet.ServletException: org/w3c/dom/svg/SVGDocument

Re: Header is not repeating on second page

2003-05-06 Thread Jeremias Maerki
You need to make sure that you place your header in a: And then you need to make sure that this region is specified for all simple-page-masters you use. Look at examples/fo/pagination/franklin_alt.fo. It does something similar. On 06.05.2003 10:29:36 vikas waykole wrote: > I am having one FO fi

Re: DTMException ?

2003-05-06 Thread Jeremias Maerki
You've got to go to the Xalan guys with this. This has nothing to do with FOP. On 06.05.2003 10:30:11 Mirko Sertic wrote: > I'm getting the following exception when transforming a really large > document. > What does the exception mean ( no more DTM-ID's available ) ? . How can i > prevent > this

DTMException ?

2003-05-06 Thread Mirko Sertic
Hello! I'm getting the following exception when transforming a really large document. What does the exception mean ( no more DTM-ID's available ) ? . How can i prevent this ? [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser javax.xml.transform.TransformerException: org.apache.xml.d

Header is not repeating on second page

2003-05-06 Thread vikas waykole
Hi All, I am having one FO file which is generating 2 pages of pdf. I have put jpeg file in the header for fo file. I am getting imga ein header of first page but not the second page. Does anyone knows the reason and fix for this. Thanks in advance, Vikas Waykole ___

Re: Réf. : RE: mif generation

2003-05-06 Thread Jeremias Maerki
Is that really the full stacktrace? If yes, your stacktrace indicates a problem within Xalan, but I don't see why the PDF generation works, then. So I don't have an idea. The only thing you can do is comment out portions of your XSL to see if the error goes away. That could help you gradually narro

Réf. : RE: mif generation

2003-05-06 Thread stephane . peyronny
Jeremias Maerki wrote: > java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 > at java.util.ArrayList.RangeCheck(ArrayList.java:508) > at java.util.ArrayList.get(ArrayList.java:320) > at org.apache.fop.mif.MIFDocument$TextFlow.curPara(MIFDocument.java:442) > at

Trying to render lines different ways

2003-05-06 Thread Julie . Hansen
Hi All, I am fairly new to fop and have come across a problem that I am finding difficult to solve. I have some XML which contains (among other things), 7 elements. I want to render these lines so that the first 3 elements appear on seperate lines, the next 3 appear on one line, and the final

Re: FOP javadocs

2003-05-06 Thread Jeremias Maerki
On 06.05.2003 08:22:14 Victor Mote wrote: > Peter B. West wrote: > > > For reasons relaed to my own approach to design and code documentation, > > I would like to see us, at some time in the future, follow the lead of > > Poi, and publish the complete source tree as HTML. See > > http://jakarta.

RE: FOP javadocs

2003-05-06 Thread Victor Mote
Peter B. West wrote: > For reasons relaed to my own approach to design and code documentation, > I would like to see us, at some time in the future, follow the lead of > Poi, and publish the complete source tree as HTML. See > http://jakarta.apache.org/poi/javadocs/javasrc/ That's pretty cool. I

Re: FOP javadocs

2003-05-06 Thread Peter B. West
Victor et al, For reasons relaed to my own approach to design and code documentation, I would like to see us, at some time in the future, follow the lead of Poi, and publish the complete source tree as HTML. See http://jakarta.apache.org/poi/javadocs/javasrc/ Nicola was heavily involved in thi

RE: getting a duplicate image in a short file

2003-05-06 Thread Victor Mote
Robert P. J. Day wrote: > i first tried to solve this with the latest CVS FOP build, > which is *definitely* not ready for prime time. As mentioned in my post on the other thread, you probably have built the trunk code, and you are correct, it is not very usable. If you get the right branch, yo

RE: where is org/apache/commons/io/output/CountingOutputStream?

2003-05-06 Thread Victor Mote
Robert P. J. Day wrote: > just as a test, i downloaded a recent CVS tree, built it, and > copied fop.jar over top of the old one. i got a missing class > error for the class in the subject line. I'm guessing you downloaded & built the trunk code, but ran it against the maintenance branch libra

RE: mif generation

2003-05-06 Thread Victor Mote
Jeremias Maerki wrote: > Looking at the source code of MIFDocument.java (method curPara()) > there's likely to be an IndexOutOfBoundsException if paras (an ArrayList) > has zero elements. There's a check needed. Since I fear we have no > active committers who know MIF well enough (and have spare t

getting a duplicate image in a short file

2003-05-06 Thread Robert P. J. Day
i first tried to solve this with the latest CVS FOP build, which is *definitely* not ready for prime time. so, with rc2, i took the following docbook file - http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";> DocBoo

FOP javadocs

2003-05-06 Thread Victor Mote
In response to several requests, the javadocs for both the trunk and maintenance branches of FOP are now available from the "API Doc" menu item on the "Development" tab of the web site, or directly here: http://xml.apache.org/fop/dev/api-doc.html Victor Mote -

where is org/apache/commons/io/output/CountingOutputStream?

2003-05-06 Thread Robert P. J. Day
just as a test, i downloaded a recent CVS tree, built it, and copied fop.jar over top of the old one. i got a missing class error for the class in the subject line. any hints as to where i might find that? rday - To unsub