[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FOP warning about overflow

Subject: Re: FOP warning about overflow
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Tue, 5 May 2009 09:47:03 -0700
Re:  FOP warning about overflow
Hello again,
Turns out I was wrong - there was an error in my bat file. It now runs.
I notice that
" Default page-width set to: 8.26in" in the FopConfiguration and I have set it here to 8.5in here. Is this the problem? Or have I computed the region incorrectly?


The two warnings now point at the below code (the first fo:region and the blank line after this code).
Mark



<!-- Even Page Layout -->
<fo:simple-page-master master-name="even" page-height="11in" page-width="8.5in">
<fo:region-body region-name="text" margin-top="0.75in" margin-bottom="0.8in" margin-left="0.5in" margin-right="0.75in"/>
<fo:region-before region-name="even-header" extent="0.5in"/>
<fo:region-after region-name="footer" extent="0.5in"/>
</fo:simple-page-master>



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

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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.