Re: [xsl] FOP warning about overflow

Subject: Re: [xsl] FOP warning about overflow
From: Eike Jordan <jordan@xxxxxxxxxxxxx>
Date: Tue, 05 May 2009 18:11:57 +0200
Mark Wilson wrote:
Thanks Eike,
I looked at the fop command line and the parameter -foout requires fop-sandbox.jar, which Apache apparently only provides when fop is built on the host computer. As I do not know java, I downloaded the binary for my installation (and the sandbox does not seem to be part of that installation). Can you tell me where I can find that jar file and where it needs to be installed? In the fop/lib directory?

Well, i don't know exactly - never worked with binary distributions - if you build from the source distribution, fop-sandbox.jar is located in the build directory just like fop.jar

Thanks,
Mark

--------------------------------------------------
From: "Eike Jordan" <jordan@xxxxxxxxxxxxx>
Sent: Tuesday, May 05, 2009 7:43 AM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [xsl] FOP warning about overflow

Hi Mark,

in order to get accurate line number information you have
to separate the processing chain from xml --> pdf to xml --> xsl:fo
--> pdf, that is first you have to generate the xsl:fo and then run
fop with the generated file as input.

HTH
~eike

Mark Wilson wrote:
Before I begin messing with my XSLT-FO style sheet, I want to know what these warning mean and how to correct them. The PDF file output files appear well-formed. The warning's information (location 47/-1 and 51/-1) are a mystery to me. Below is the call to fop in the bat file and the resulting warnings. Can you help (or have I come to the wrong list?)
Thanks,
Mark


C:\Users\HP\XSLT Information and examples\Specialist index>
fop -d -c fopConfiguration.xml -xml work\21Grouped.xml -xsl XSLT\22Headingpdf.xsl -pdf work\headings.pdf


May 5, 2009 7:10:51 AM org.apache.fop.apps.FopFactoryConfigurator configureINFO: Default page-height set to: 11in
May 5, 2009 7:10:51 AM org.apache.fop.apps.FopFactoryConfigurator configureINFO: Default page-width set to: 8.26in
License file saxon-license.lic not found. Running in non-schema-aware mode
May 5, 2009 7:10:53 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 47/-1)
May 5, 2009 7:10:53 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 51/-1)




--
Eike Jordan  <jordan@xxxxxxxxxxxxx>

| FIZ CHEMIE BERLIN
| Franklin Str. 11               ------    ,__o
| 10587 Berlin                  ------   _-\_<,
|                              ------   (+)/'(+)
| Tel. : 0049-30-39977 214



--
Eike Jordan  <jordan@xxxxxxxxxxxxx>

| FIZ CHEMIE BERLIN
| Franklin Str. 11               ------    ,__o
| 10587 Berlin                  ------   _-\_<,
|                              ------   (+)/'(+)
| Tel. : 0049-30-39977 214

Current Thread