i am not usre about this lib for converting xhtml to fo, but
the one on the web I found is at
http://www.xml.com/pub/a/2001/01/24/xsl-fo/index.html?page=1
and it states it does not handle colspan

i ended up using apache for .20.5
i use xsl to convert xml into xsl-fo, which 
can then be run through apache.org.Fop to get pdf



>Thanks for the response. Yes I am using colspan... I am very new to xsl/fo,
we are trying to convert html >pages to pdf, let me know if you have any
thoughts on doing it. I used the xsl from ibm, 
>http://www-106.ibm.com/developerworks/xml/library/x-xslfo2app/

-----Original Message-----
From: Saigeetha Govindarajan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 1:15 PM
To: [EMAIL PROTECTED]
Subject: fo to pdf conversion error


Hi,
I am getting the following error when I try to convert the fo (generated
using xhtml +xsl) to pdf. Please help!
Thanks,



[ERROR] null
org.apache.fop.apps.FOPException
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:11
1)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

---------

java.lang.ArrayIndexOutOfBoundsException
        at
org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.ja
va:130)
        at org.apache.fop.fo.flow.TableRow.initCellArray(TableRow.java:505)
        at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:271)
        at
org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.jav
a:236)
        at org.apache.fop.fo.flow.Table.layout(Table.java:302)
        at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
        at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
        at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:
400)
        at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:33
8)
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source
)
        at
org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknow
n Source)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)

        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:10
6)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

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

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

Reply via email to