Project

Profile

Help

Bug #2945

Updated by Debbie Lockett over 6 years ago

Situations which alter local context, such as indexed filtering or @xsl:for-each@, do not preserve any inherited grouping context, which is only altered by @xsl:for-each-group@. Thus @current-group()@ and @current-grouping-key()@ can fail or be erroneous. 

 * @preserveGrouping()@ added to @transform.Context@ 
 * calls to this added to several @Expr@ steps. 

 Changes committed to Saxon-JS code 9.8 branch, but issue left open for other cases

Back