Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] FOP warning about overflow

From: "Mark Wilson" <mark@--------.--->
To: <xsl-list@-----.------------.--->
Date: 5/5/2009 4:47:00 PM
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@f...>
Sent: Tuesday, May 05, 2009 9:11 AM
To: <xsl-list@l...>
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@f...>
>> Sent: Tuesday, May 05, 2009 7:43 AM
>> To: <xsl-list@l...>
>> 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@l...>
>>>> --~--
>>>>
>>>
>>>
>>> -- 
>>> Eike Jordan  <jordan@f...>
>>>
>>> | 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@l...>
>>> --~--
>>>
>>>
>>>
>>
>>
>> --~------------------------------------------------------------------
>> 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@l...>
>> --~--
>>
>
>
> -- 
> Eike Jordan  <jordan@f...>
>
> | 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@l...>
> --~--
>
>
> 


--~------------------------------------------------------------------
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@l...>
--~--



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent