I'm trying to add some additional lines to a table in FOP, to fill them up to 13 rows with this code:
<!-- Fill Up Empty space -->
<c:forEach var="i" begin="${position_id}" end="13" step="1">
<fo:table-row height="4.4mm" border-bottom-color="black"
border-bottom-style="fixed" border-bottom-width="0.2mm">
<fo:table-cell border-bottom-style="solid"
border-bottom-width="0.2mm" border-top-style="solid"
border-top-width="0.1mm">
<fo:block font-size="8pt" text-align="center">
</fo:block>
</fo:table-cell>
<fo:table-cell border-bottom-style="solid"
border-bottom-width="0.2mm" border-top-style="solid"
border-top-width="0.1mm">
<fo:block />
</fo:table-cell>
<fo:table-cell border-bottom-style="solid"
border-bottom-width="0.2mm" border-top-style="solid"
border-top-width="0.1mm">
<fo:block />
</fo:table-cell>
<fo:table-cell border-bottom-style="solid"
border-bottom-width="0.2mm" border-top-style="solid"
border-top-width="0.1mm">
<fo:block />
</fo:table-cell>
<fo:table-cell border-bottom-style="solid"
border-bottom-width="0.2mm" border-top-style="solid"
border-top-width="0.1mm">
<fo:block />
</fo:table-cell>
</fo:table-row>
</c:forEach>
Problem is that I keep getting an exception:
org.apache.fop.fo.ValidationException: file:/tmp/fop_1613051806105460695.fo:289:126: Error(289/126): fo:table-row is not a valid child element of forEach.
at org.apache.fop.fo.FONode.invalidChildError(FONode.java:435)
at org.apache.fop.fo.FONode.invalidChildError(FONode.java:420)
at org.apache.fop.fo.XMLObj.validateChildNode(XMLObj.java:70)
...
And Googling isn't helping either. Any ideas?