xsl-list
[Top] [All Lists]

Re: [xsl] FOP warning about overflow

2009-05-05 12:47:30
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(_at_)fiz-chemie(_dot_)de>
Sent: Tuesday, May 05, 2009 9:11 AM
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] 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(_at_)fiz-chemie(_dot_)de>
Sent: Tuesday, May 05, 2009 7:43 AM
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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)


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--
Eike Jordan  <jordan(_at_)fiz-chemie(_dot_)de>

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--
Eike Jordan  <jordan(_at_)fiz-chemie(_dot_)de>

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--