OK
X---snip
>
> FOP version
0.20.4 (also tried with 0.20.5)
> OS
WinNT 4.0
> JDK version
JDK 1.3.1_03
> Are you running FOP from command line or standalone?
Both no -> embedded via org.apache.fop.apps.Driver.run()
> Do you get any output at the console when using the -d
> option? If so could
> you post it to the list.
I've reproduced it, on calling the produced *.fo file on command line
with -d switch
[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: F:\java\projects\star\q3.3\run\tmp\tmp.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: c:\test.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] base directory: file:/F:/java/projects/star/q3.3/run/tmp/
[INFO] FOP 0.20.4
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[DEBUG] setting up fonts
[INFO] [1]
[INFO] [2]
...
[INFO] [83]
[INFO] [84]
Exception in thread "main" java.lang.OutOfMemoryError
<<no stack trace available>>
> Could you also post a small Fo snippet that reproduces the problem?
xsl:
<fo:table-row>
<fo:table-cell number-columns-spanned="3" number-rows-spanned="100">
<xsl:for-each select="orderItems/OrderItem">
<fo:block space-before.optimum="12pt"><fo:leader leader-pattern="rule"
leader-length="100%"/></fo:block>
<fo:block font-weight="bold" text-align="left"><xsl:value-of
select="sectionHeading"/></fo:block>
<fo:block text-align="center"><fo:external-graphic
src="{urlList/previewFilePath}"/></fo:block>
</xsl:for-each>
<fo:block space-before.optimum="6pt"><fo:leader leader-pattern="rule"
leader-length="100%"/></fo:block>
</fo:table-cell>
<fo:table-cell/>
</fo:table-row>
fo:
<fo:table-body>
<fo:table-row>
<fo:table-cell number-rows-spanned="100" number-columns-spanned="3">
<fo:block space-before.optimum="12pt">
<fo:leader leader-length="100%" leader-pattern="rule"/>
</fo:block>
<fo:block text-align="left" font-weight="bold">Automobile - Renting
and Leasing</fo:block>
<fo:block text-align="center">
<fo:external-graphic
src="file:/L:/displayads/multipage/multipage_p01.eps"/>
</fo:block>
<fo:block space-before.optimum="12pt">
<fo:leader color="rgb(155,200,255)" leader-length="100%"
leader-pattern="rule"/>
</fo:block>
<fo:block text-align="left" font-weight="bold">Automobile - Renting
and Leasing</fo:block>
<fo:block text-align="center">
<fo:external-graphic
src="file:/F:/java/projects/star/q3.3/run/customer
proof/MPTest01/1.2/Ad.ps"/>
</fo:block>
.... and so on (all produced advertisements)
<fo:table-cell/>
<fo:table-cell number-columns-spanned="2">
<fo:block space-before.optimum="12pt" font-size="18pt"
font-weight="bold" text-align="center">Yakima 2003-2004 </fo:block>
<fo:block font-size="14pt" font-weight="bold"
text-align="center">IN-COLUMN LISTINGS PROOF</fo:block>
</fo:table-cell>
</fo:table-row>
***
p.s.: I know how to avoid such problems but...
This code was sent to us by our customer. We get a lot of change requests to
the reporting module of our prog, because of the customer is allowed to
cover its own template into the prog and if the creation of reports doesn't
come back it's buggy for the customer. It costs a lot of time to communicate
and investigate that the prob was in the stylesheet (again).
Thanx Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]