Hi J. Pietschmann, here is the relevant part of the xsl code for generating the table:
<fo:table border-collapse="separate"> <xsl:apply-templates select="../../../body/tableheader"/> <fo:table-body background-color="#ffffff"> <xsl:for-each select="row"> <fo:table-row background-color="#dcdcdc" keep-together="always" language="de" hyphenate="true" overflow="hidden" > <xsl:for-each select="column"> <fo:table-cell padding-left="5pt" border-style="solid" border-width="0.01mm" border-color="black"> <xsl:attribute name="text-align"><xsl:value-of select="@align"/></xsl:attribute> <fo:block> <xsl:value-of select="."/> </fo:block> </fo:table-cell> </xsl:for-each> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> <!-- Columndefinition <xsl:template match="tableheader/columnspec"> <fo:table-column border-style="solid" border-color="white" border-width="1px"> <xsl:attribute name="column-number"><xsl:value-of select="@colno"/></xsl:attribute> <xsl:attribute name="column-width"><xsl:value-of select="@length"/>pt</xsl:attribute> </fo:table-column> </xsl:template> The column widths are retrieved from the xml file. As you can see I don't work with leaders (maybe defaults are the problem?). In addition I use hyphenation to force breaklines. And again: this code works outside of cocoon with fop-0.20.3 and fop-0.20.4. When I use this code within cocoon it is not working. I used cocoon2.1 with fop-0.20.3 and cocoon2.3 together with fop-0.20.4. Thank you and best regards Frank -----Ursprungliche Nachricht----- Von: J.Pietschmann [mailto:j3322ptm@;yahoo.de] Gesendet: Sonntag, 20. Oktober 2002 21:05 An: [EMAIL PROTECTED] Betreff: Re: FOP in cocoon Przybilla, Frank wrote: > The problems is that the column values don't fit into the specified > columns. So fop has to hyphenate the text or produce breaks > respectively. This is working for small documents. > > For bigger documents fop is not coming to an end and seems to hang producing > permanently the following error (with ascending and very big info numbers): > [INFO] [2742] > [ERROR] Leader doesn't fit into line, it will be clipped to fit. You have a problem with a leader. Track down leaders you place in table cells. Then: - Check whether you have a space before and after so that FOP can break the line, unless you actually want to prohibit this. - Check whether you use an absolute leader-length. Reduce it, or replace it with something relative, for example 99%. - Post a few lines from the code around the leader and the table column width to fop-user. > Outside of cocoon it is working. FOP produces the same error but only per > page. Probably you use different FOP versions. The 0.20.4 release should be able to break the loop. J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>