[jfor] tables causing nullpointerexception

"Carlos M. S. Bento Nogueira" <[email protected]> Tue, 9 Aug 2005 03:05:56 +0100 (WEST)
Newsgroups gmane.text.xml.cocoon.user,gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hi!! I'm a newbie in jfor. The following code is causing 
nullpointerexception in jfor.0.7.1 when i don't have the fo:table 
commented as it is now. Any ideas to correct it would be 
great.
I'm also sending a copy to the cocoon users lists as i'm planning
to use jfor together with cocoon. If this is a deprecated approach
for transforming xsl-fo to rtf i would appreciate some advice.

TIA,
CarlosN.


Code snippet:(also available at http://pastebin.com/332516 )


<fo:table-cell role="td">
<fo:block>

<!-- <fo:table table-layout="fixed" width="100%" role="table"> 
-->
 	<fo:table-column column-width="0.62cm" role="col"/>
 	<fo:table-column column-width="0.62cm" role="col"/>
 	<fo:table-column column-width="0.62cm" role="col"/>

 	<fo:table-body start-indent="0pt" end-indent="0pt" text-indent="0pt" last-line-end-indent="0pt" text-align="start">

 	<fo:table-row role="tr">
 		<fo:table-cell role="td">
 			<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">
 						<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 							<fo:block>
 								<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 								font-family="ZapfDingbats">?</fo:inline>
 							</fo:block>
 						</fo:list-item-label>

 						<fo:list-item-body start-indent="body-start()">
 							<fo:block>Anos</fo:block>
 						</fo:list-item-body>

 					</fo:list-item>
 				</fo:list-block>
 			</fo:block>
 		</fo:table-cell>


 		<fo:table-cell role="td">
 			<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">

 					<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 						<fo:block>
 							<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 							font-family="ZapfDingbats">?</fo:inline>
 						</fo:block>
 					</fo:list-item-label>

 					<fo:list-item-body start-indent="body-start()">
 						<fo:block>Meses</fo:block>
 					</fo:list-item-body>
 				</fo:list-item>
 			</fo:list-block>
 		</fo:block>
 		</fo:table-cell>


 		<fo:table-cell role="td">
 		<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">
 						<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 							<fo:block>
 								<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 								font-family="ZapfDingbats">?</fo:inline>
 							</fo:block>
 						</fo:list-item-label>

 						<fo:list-item-body start-indent="body-start()">
 							<fo:block>Dias</fo:block>
 						</fo:list-item-body>

 					</fo:list-item>
 				</fo:list-block>
 			</fo:block>
 		</fo:table-cell>

 		</fo:table-row>


 		</fo:table-body>
<!--		</fo:table> -->

 		</fo:block>
 		</fo:table-cell>