xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From irene23 <basura2...@yahoo.es>
Subject Re: attributes of <fo:table>
Date Thu, 03 Jan 2008 12:39:22 GMT

Hello, 

I have this error: 

C:\fop-0.93>fop -xml solucion2/prueba.xml -xsl solucion2/prueba.xsl -pdf
solucio 
n2/prueba.pdf 
"java" 
03-ene-2008 13:07:01 org.apache.fop.fo.FOTreeBuilder$MainFOHandler
endElement 
ADVERTENCIA: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs.
roo 
t (http://www.w3.org/1999/XSL/Format) 
03-ene-2008 13:07:01 org.apache.fop.fo.FOTreeBuilder fatalError 
GRAVE: javax.xml.transform.TransformerException:
java.lang.IndexOutOfBoundsExcep 
tion: Index: 90, Size: 90 
03-ene-2008 13:07:01 org.apache.fop.cli.Main startFOP 
GRAVE: Exception 
javax.xml.transform.TransformerException:
java.lang.IndexOutOfBoundsException: I 
ndex: 90, Size: 90 
        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:160) 
        at org.apache.fop.cli.Main.main(Main.java:191) 

--------- 

; SystemID: file:///C:/fop-0.93/solucion2/prueba.xsl; Line#: 6; Column#: 57 
javax.xml.transform.TransformerException:
java.lang.IndexOutOfBoundsException: I 
ndex: 90, Size: 90 
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Un 
known Source) 
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Unkn 
own Source) 
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(Unknown So 
urce) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        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:160) 
        at org.apache.fop.cli.Main.main(Main.java:191) 
Caused by: java.lang.IndexOutOfBoundsException: Index: 90, Size: 90 
        at java.util.ArrayList.RangeCheck(Unknown Source) 
        at java.util.ArrayList.get(Unknown Source) 
        at
org.apache.fop.layoutmgr.KnuthSequence.getElement(KnuthSequence.java: 
159) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.noBreakBetween(PageBre 
akingAlgorithm.java:408) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.checkCanDeferOldFootno 
tes(PageBreakingAlgorithm.java:377) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.computeDifference(Page 
BreakingAlgorithm.java:336) 
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.considerLegalBreak(Breakin 
gAlgorithm.java:685) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.considerLegalBreak(Pag 
eBreakingAlgorithm.java:309) 
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(Breakin 
gAlgorithm.java:485) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhas 
e3WithLastPage(PageSequenceLayoutManager.java:411) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhas 
e3(PageSequenceLayoutManager.java:366) 
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav 
a:345) 
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav 
a:263) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag 
eSequenceLayoutManager.java:157) 
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j 
ava:385) 
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java 
:148) 
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde 
r.java:378) 
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) 
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(Unknown
Sou 
rce) 
        at org.apache.xalan.templates.ElemLiteralResult.execute(Unknown
Source) 
        ... 10 more 
--------- 
java.lang.IndexOutOfBoundsException: Index: 90, Size: 90 
        at java.util.ArrayList.RangeCheck(Unknown Source) 
        at java.util.ArrayList.get(Unknown Source) 
        at
org.apache.fop.layoutmgr.KnuthSequence.getElement(KnuthSequence.java: 
159) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.noBreakBetween(PageBre 
akingAlgorithm.java:408) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.checkCanDeferOldFootno 
tes(PageBreakingAlgorithm.java:377) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.computeDifference(Page 
BreakingAlgorithm.java:336) 
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.considerLegalBreak(Breakin 
gAlgorithm.java:685) 
        at
org.apache.fop.layoutmgr.PageBreakingAlgorithm.considerLegalBreak(Pag 
eBreakingAlgorithm.java:309) 
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(Breakin 
gAlgorithm.java:485) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhas 
e3WithLastPage(PageSequenceLayoutManager.java:411) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhas 
e3(PageSequenceLayoutManager.java:366) 
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav 
a:345) 
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav 
a:263) 
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag 
eSequenceLayoutManager.java:157) 
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j 
ava:385) 
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java 
:148) 
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde 
r.java:378) 
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) 
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(Unknown
Sou 
rce) 
        at org.apache.xalan.templates.ElemLiteralResult.execute(Unknown
Source) 
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Un 
known Source) 
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Unkn 
own Source) 
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(Unknown So 
urce) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown
Source 
) 
        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:160) 
        at org.apache.fop.cli.Main.main(Main.java:191) 
C:\fop-0.93> 


If I delete "<fo:conditional-page-master-reference master-reference="cover5"
page-position="last"/>" I don´t get the error and I don´t know the cause,
Could you help me? What's the meaning of this error? 

  <fo:page-sequence-master master-name="document"> 
             <fo:repeatable-page-master-alternatives> 
               <fo:conditional-page-master-reference
master-reference="cover5" page-position="last"/>      
<fo:conditional-page-master-reference master-reference="cover6"
page-position="any"/> 
              </fo:repeatable-page-master-alternatives> 
  </fo:page-sequence-master> 

This error, I think also is related with the footnote and the attribute
keep-together I have at the end of the body:

<fo:block>Text of the body3</fo:block>
<fo:block>Text of the body3</fo:block>
					
<fo:block>	
    <fo:footnote>
	<fo:inline></fo:inline>
	      <fo:footnote-body>
		<fo:table keep-together.within-page="always" ...> .....</fo:table>  	
	      </fo:footnote-body> 
    </fo:footnote>
</fo:block>				
</fo:flow>

Could you help me to find the problem?

Thanks.
-- 
View this message in context: http://www.nabble.com/attributes-of-%3Cfo%3Atable%3E-tp14584481p14596235.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message