You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by ck...@onebox.com on 2006/01/03 15:41:40 UTC
RE: Re: [ERROR] Index: 5, Size: 4
My xsl-fo document opens with this section:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="matrix" page-width="11in" page-height="8.5in">
<fo:region-body margin="0.25in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="list" page-width="8.5in" page-height="11in">
<fo:region-body margin="0.25in"/>
</fo:simple-page-master>
</fo:layout-master-set>
and is followed by seven instances of :
<fo:page-sequence master-reference="matrix">
<fo:flow flow-name="xsl-region-body">
<fo:table>
<fo:table-column column-number="1" column-width=".65in"/>
<fo:table-column column-number="2" column-width=".65in"/>
<fo:table-column column-number="3" column-width=".65in"/>
<fo:table-column column-number="4" column-width=".65in"/>
<fo:table-column column-number="6" column-width=".65in"/>
...
<fo:table-column column-number="16" column-width=".65in"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell border="solid black 1px" padding="3pt">
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell border="solid black 1px" padding="3pt">
<fo:block></fo:block>
</fo:table-cell>
<!-- Fourteen additional fo:table-cell elements, differing only in the text in the fo:block -->
</fo:table-header>
<fo:table-body/>
</fo:table>
</fo:flow>
</fo:page-sequence>
In each section there are 16 table columns defined, followed by 16 fo:table-cell elements.
I don't have a clue as to where "Index: 5, Size: 4" fits into that. Can anyone throw some light on this?
Thanks.
--
Charles Knell
cknell@onebox.com - email
-----Original Message-----
From: J.Pietschmann <j3...@yahoo.de>
Sent: Sat, 31 Dec 2005 20:35:27 +0100
To: fop-users@xmlgraphics.apache.org
Subject: Re: [ERROR] Index: 5, Size: 4
cknell@onebox.com wrote:
> Can someone give me some guidance on this error message? Thanks.
..
> [INFO] FOP 0.20.5
..
> [ERROR] Index: 5, Size: 4
>
Looks like you have a problem with assigning table cells to columns.
Check all column-number and number-columns-spanned properties carefully.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: [ERROR] Index: 5, Size: 4
Posted by "J.Pietschmann" <j3...@yahoo.de>.
cknell@onebox.com wrote:
> <fo:table-column column-number="4" column-width=".65in"/>
> <fo:table-column column-number="6" column-width=".65in"/>
I guess FOP can't cope with missing column Nr. 5. If it's defined later,
maybe FOP 0.20.5 can't deal properly with out-of-order declarations
(just a guess without looking into the code).
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: [ERROR] Index: 5, Size: 4
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Look closely below...
On 03.01.2006 15:41:40 cknell wrote:
> My xsl-fo document opens with this section:
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <fo:layout-master-set>
> <fo:simple-page-master master-name="matrix" page-width="11in" page-height="8.5in">
> <fo:region-body margin="0.25in"/>
> </fo:simple-page-master>
> <fo:simple-page-master master-name="list" page-width="8.5in" page-height="11in">
> <fo:region-body margin="0.25in"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
>
>
> and is followed by seven instances of :
>
> <fo:page-sequence master-reference="matrix">
> <fo:flow flow-name="xsl-region-body">
> <fo:table>
> <fo:table-column column-number="1" column-width=".65in"/>
> <fo:table-column column-number="2" column-width=".65in"/>
> <fo:table-column column-number="3" column-width=".65in"/>
> <fo:table-column column-number="4" column-width=".65in"/>
> <fo:table-column column-number="6" column-width=".65in"/>
^^^^^^^^^ aren't you missing
column nr 5???
> ...
> <fo:table-column column-number="16" column-width=".65in"/>
> <fo:table-header>
> <fo:table-row>
> <fo:table-cell border="solid black 1px" padding="3pt">
> <fo:block></fo:block>
> </fo:table-cell>
> <fo:table-cell border="solid black 1px" padding="3pt">
> <fo:block></fo:block>
> </fo:table-cell>
> <!-- Fourteen additional fo:table-cell elements, differing only in the text in the fo:block -->
> </fo:table-header>
> <fo:table-body/>
> </fo:table>
> </fo:flow>
> </fo:page-sequence>
>
> In each section there are 16 table columns defined, followed by 16 fo:table-cell elements.
>
> I don't have a clue as to where "Index: 5, Size: 4" fits into that. Can anyone throw some light on this?
>
> Thanks.
> --
> Charles Knell
> cknell@onebox.com - email
>
>
>
> -----Original Message-----
> From: J.Pietschmann <j3...@yahoo.de>
> Sent: Sat, 31 Dec 2005 20:35:27 +0100
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: [ERROR] Index: 5, Size: 4
>
> cknell@onebox.com wrote:
> > Can someone give me some guidance on this error message? Thanks.
> ..
> > [INFO] FOP 0.20.5
> ..
> > [ERROR] Index: 5, Size: 4
> >
> Looks like you have a problem with assigning table cells to columns.
> Check all column-number and number-columns-spanned properties carefully.
>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org