Bug #3499
closedKeys should be invalidated if the (relevant part of the) HTML page is updated
100%
Description
If a variable refers to part of an HTML page which is subsequently rewritten, the result may be wrong because the 'old' value of the variable is used. For instance, suppose a template variable is defined as
<xsl:variable name="input" select="ixsl:get(ixsl:page()//div[@id='target']/textarea[@id='input'],'value')"/>
and another template has the action of overwriting the relevant textarea
<xsl:template name="overwrite">
<xsl:result-document href="#target" method="ixsl:replace-content">
<textarea data-ref="input"></textarea>
</xsl:result-document>
</xsl:template>
Then we do not see the correct new value for $input after the 'overwrite' has been called.
Internally, a key is used for the reference to the textarea node. The issue is that when the textarea is overwritten, the key should be invalidated, so that it is reevaluated properly.
Please register to edit this issue
Also available in: Atom PDF Tracking page