niallsco / kettle-cookbook

Automatically exported from code.google.com/p/kettle-cookbook
GNU Lesser General Public License v3.0
1 stars 0 forks source link

variable step-or-job-entry had wrong test value #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

the first test should be looking to match kjb like steps-or-job-entries 
<xsl:variable name="steps-or-job-entries">
    <xsl:choose>
        <xsl:when test="$file-type = 'kjb'">Job Entries</xsl:when>
        <xsl:when test="$file-type = 'ktr'">Steps</xsl:when>
        <xsl:otherwise>
        </xsl:otherwise>
    </xsl:choose>
</xsl:variable>

<xsl:variable name="step-or-job-entry">
    <xsl:choose>
        <xsl:when test="$file-type = 'ktr'">job entry</xsl:when>
        <xsl:when test="$file-type = 'ktr'">step</xsl:when>
        <xsl:otherwise>
        </xsl:otherwise>
    </xsl:choose>
</xsl:variable>

Original issue reported on code.google.com by tecro...@gmail.com on 29 May 2013 at 12:49

GoogleCodeExporter commented 9 years ago
Hi tecronin,

I looked into latest svn of kettle-report.xslt (which I assume is the file you 
are referring to). AFAICT, the code in there is correct; see: 
http://code.google.com/p/kettle-cookbook/source/browse/trunk/xslt/kettle-report.
xslt

Closing as not a bug. Feel free to reopen if you think there is still an issue.

Original comment by roland.bouman on 29 May 2013 at 5:54