DITA2InCopy: Table Handling Does Not Pass Colspec Elements Parameter
Brought to you by:
drmacro
The apply-templates for the template matching on tgroup in calstbl2IcmlImpl.xsl should be:
<xsl:apply-templates> <xsl:with-param name="colCount" select="$numCols" as="xs:integer" tunnel="yes"/> <xsl:with-param name="rowCount" select="$numHeaderRows + $numBodyRows" as="xs:integer" tunnel="yes"/> <xsl:with-param name="colspecElems" as="element()*" select="*[df:class(., 'topic/colspec')]" tunnel="yes"/> </xsl:apply-templates>
Anonymous
Diff:
It also appears that the logic in isColSpan() is incorrect, should be:
($colspecElems[@colname=$namest] and $colspecElems/*[@colname=$nameend])
And in numberColsSpanned()
Fix committed to rc branch.
Also implemented handling of @align and @valign attributes on entry elements.