You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Przybilla, Frank" <fr...@maxess.de> on 2002/10/18 13:10:15 UTC

FOP in cocoon

Hello to all cocoon users,

I have still some problems with fop within cocoon.
What I want to do is to generate reports especially tables from xml data.

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.

Outside of cocoon it is working. FOP produces the same error but only per
page.
So when the output has 60 pages I got 60 error messages. When running in
cocoon
you have thousands of such errors.

I test it with cocoon 2.1, cocoon2.3 in combination with fop-0.20.3,
fop-0.20.4.

What is going wrong here?

With best regards

Frank



> --------------------------------------------------------------------------
> ---------
> Frank Przybilla                                     @xdecision
> (Dipl.-Inform.)
> maxess systemhaus gmbh
> Europaallee 3-5	Phone:	+49 (0) 631.303-2500
> 67657 Kaiserslautern 	Fax:	+49 (0) 631.303-2501
> 	E-Mail:	mailto:przybilla@maxess.de
> Germany      	www:	http://www.maxess.de
> --------------------------------------------------------------------------
> --------
> 
> 
> 

---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: FOP in cocoon

Posted by "J.Pietschmann" <j3...@yahoo.de>.
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>