Hi team, We have a requirement for converting XSL-FO to PDF. Recently we have migrated from FOP 0.95 FOP 2.9. We are facing a problem with nested <fo:table>'s with the current version. The exception that we are getting is: org.apache.fop.fo.ValidationException:the column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (See position 0:0).
Sample XSL file code like below: <fo:table font-size="8px" table-layout="fixed" width="100%"> <fo:table-column column-width="proportional-column-width(1)"/> <fo:table-column column-width="proportional-column-width(1)"/> <fo:table-body> <fo:table-row> <fo:table-cell number-columns-spanned="2"> <fo:table table-layout="fixed" width="100%"> <fo:table-column column-width="proportional-column-width(1)"/> <fo:table-column column-width="proportional-column-width(1)"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block color="#0a70b6" font-weight="bold" font-size="9px">Individual Case Report</fo:block> <fo:block font-weight="bold"> <fo:wrapper color="#0a70b6">Date Learned:</fo:wrapper> <fo:wrapper> <xsl:value-of select="dateFormat:format($dateLearned, 'yyyy-MM-dd')"/> </fo:wrapper> </fo:block> </fo:table-cell> <fo:table-cell text-align="right"> <fo:block data-path="studyId" font-weight="bold" font-size="9px"> <fo:wrapper color="#0a70b6"> Protocol # </fo:wrapper> <fo:wrapper> <xsl:value-of select="java:getStudyId($trial)"/> </fo:wrapper> </fo:block> <fo:block font-weight="bold"> <fo:wrapper color="#0a70b6"> Initial Date Learned: </fo:wrapper> <fo:wrapper> <xsl:value-of select="dateFormat:format($initialDateLearned, 'yyyy-MM-dd')"/> </fo:wrapper> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:table-cell> </fo:table-row> Please guide me what changes need to be done to address the bug or exception. Regards Anirban