Hi,

I create a FO-file from a pretty large docbook-xml (60 pages so far)
with saxon (or xslt - doesn't matter) whith the docbook-xsl-1.71.1
stylesheets. 
After that I use fop to convert it to pdf. I used 0.94 and the svn trunk
version - with both I occasionally run into the following error:


> 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind
> WARNUNG: table-layout="fixed" and column-width unspecified => falling back to 
> proportional-column-width(1)
> 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind
> WARNUNG: table-layout="fixed" and column-width unspecified => falling back to 
> proportional-column-width(1)
> 13.12.2007 13:27:30 org.apache.fop.cli.Main startFOP
> SCHWERWIEGEND: Exception
> java.lang.IndexOutOfBoundsException: Index: 14, Size: 11
>         at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)


The problem goes away if I change the order of my sections in the xml-file, 
what I don't want to, or if I only translate a single chapter of my book. 

I assume that it might have something to do with how the sections are broken to 
the pages.
And perhaps it might be a result of some footnotes I use in the document.

I have no clue what to do, perhaps someone can help?

thanks Bjoern

P.S: the complete error-stack from fop looks like that:


> 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind
> WARNUNG: table-layout="fixed" and column-width unspecified => falling back to 
> proportional-column-width(1)
> 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind
> WARNUNG: table-layout="fixed" and column-width unspecified => falling back to 
> proportional-column-width(1)
> 13.12.2007 13:27:30 org.apache.fop.cli.Main startFOP
> SCHWERWIEGEND: Exception
> java.lang.IndexOutOfBoundsException: Index: 14, Size: 11
>         at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)
> 
> ---------
> 
> java.lang.IndexOutOfBoundsException: Index: 14, Size: 11
>         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
>         at java.util.ArrayList.get(ArrayList.java:321)
>         at 
> org.apache.fop.layoutmgr.PageBreakingAlgorithm.computeDemerits(PageBreakingAlgorithm.java:644)
>         at 
> org.apache.fop.layoutmgr.BreakingAlgorithm.considerLegalBreak(BreakingAlgorithm.java:737)
>         at 
> org.apache.fop.layoutmgr.PageBreakingAlgorithm.considerLegalBreak(PageBreakingAlgorithm.java:309)
>         at 
> org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(BreakingAlgorithm.java:485)
>         at 
> org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(BreakingAlgorithm.java:403)
>         at 
> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:338)
>         at 
> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
>         at 
> org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
>         at 
> org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
>         at 
> org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
>         at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
>         at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
>         at 
> org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
>         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
> Source)
>         at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
>         at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>  Source)
>         at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>         at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to