Menu

#183 DITA2InCopy: Table Handling Does Not Pass Colspec Elements Parameter

Current_release
pending
None
1
2014-08-21
2014-08-21
No

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>

Discussion

  • W. Eliot Kimber

    W. Eliot Kimber - 2014-08-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,5 +3,5 @@
           <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')]"/>
    +        <xsl:with-param name="colspecElems" as="element()*" select="*[df:class(., 'topic/colspec')]" tunnel="yes"/>
           </xsl:apply-templates>
    
     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-08-21

    It also appears that the logic in isColSpan() is incorrect, should be:

    ($colspecElems[@colname=$namest] and $colspecElems/*[@colname=$nameend])

     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-08-21

    And in numberColsSpanned()

     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-08-21
    • status: accepted --> pending
     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-08-21

    Fix committed to rc branch.

    Also implemented handling of @align and @valign attributes on entry elements.

     

Anonymous
Anonymous

Add attachments
Cancel