Open
Description
Something goes wrong when referring to another finding from the description
in a finding. The logic at
pentext/xml/xslt/fo_inline.xslt
Line 34 in e24d3b4
Type error at char 28 in expression in xsl:when/@test on line 34 column 152 of fo_inline.xslt:
XPTY0004 Cannot compare xs:string to xs:boolean
In template rule with match="a" on line 10 of fo_inline.xslt
invoked by built-in template rule (text-only)
In template rule with match="*" on line 51 of block.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/block.xslt#52
In template rule with match="*" on line 51 of block.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/block.xslt#57
In template rule with match="p" on line 56 of block.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/findings.xslt#102
In template rule with match="description" on line 96 of findings.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/functions_params_vars.xslt#458
at variable unsortedFindingSummaryTable on line 433 column 54 of functions_params_vars.xslt:
invoked by xsl:for-each at file:/home/user/xxx/xslt/functions_params_vars.xslt#435
at variable unsortedFindingSummaryTable on line 433 column 54 of functions_params_vars.xslt:
invoked by xsl:for-each-group at file:/home/user/xxx/xslt/functions_params_vars.xslt#434
at variable unsortedFindingSummaryTable on line 433 column 54 of functions_params_vars.xslt:
invoked by global variable unsortedFindingSummaryTable at file:/home/user/xxx/xslt/functions_params_vars.xslt#433
at variable findingSummaryTable on line 469 column 46 of functions_params_vars.xslt:
invoked by global variable findingSummaryTable at file:/home/user/xxx/xslt/functions_params_vars.xslt#469
In template rule with match="generate_findings" on line 61 of auto.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/structure.xslt#29
In template rule with match="section" on line 10 of structure.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/structure.xslt#29
In template rule with match="section" on line 10 of structure.xslt
invoked by xsl:apply-templates at file:/home/user/xxx/xslt/pages.xslt#311
at template generate_pages on line 303 column 41 of pages.xslt:
invoked by xsl:call-template at file:/home/user/xxx/xslt/pages.xslt#296
at template Content on line 285 column 34 of pages.xslt:
invoked by xsl:for-each at file:/home/user/xxx/xslt/pages.xslt#295
at template Content on line 285 column 34 of pages.xslt:
invoked by xsl:call-template at file:/home/user/xxx/./xslt/generate_report.xsl#57
In template rule with match="/" on line 38 of generate_report.xsl
Cannot compare xs:string to xs:boolean
My tempory fix is to change the test
with 1=1
so it compiles and gives a somewhat soothing result. Ideally we investigate what this test
.should be doing and fix it :)