Actions
Bug #2941
closedCrash when there is no context item
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2016-09-15
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
Given a stylesheet with
<xsl:template match="/" name="main">
<xsl:result-document href="#target" method="ixsl:replace-content">
<ul>
<xsl:for-each select="//*:test-set">
<li><a href="testSet.html?src={@file}">{@name}</a></li>
</xsl:for-each>
</ul>
</xsl:result-document>
</xsl:template>
and running it with initialTemplate:main (and no source document), it crashes with
TypeError: null is not an object (evaluating 'context.focus.current')
rather than failing with XPDY0002 as it should.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page