Project

Profile

Help

Bug #2172

xsl:apply-templates streaming: fails when processing grounded node

Added by Michael Kay almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
Start date:
2014-10-08
Due date:
% Done:

100%

Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:

Description

When the select expression of xsl:apply-templates is consuming but grounded (e.g. select-"/a/b/copy-of()") the processing assumes that the mode is streamable, which it does not have to be. The effect is a ClassCastException attempting to cast a Template to TemplateInversion.

A patch is being applied to the 9.6 and 9.7 branches. Test case si-apply-templates-003 added to the w3c test suite.

Reported by Martin Honnen on the saxon-help list.

History

#1 Updated by O'Neil Delpratt almost 5 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.2

Bug fix applied to the maintenance release Saxon 9.6.0.2

#2 Updated by O'Neil Delpratt almost 4 years ago

  • Sprint/Milestone set to 9.6.0.2
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.2 added

Please register to edit this issue

Also available in: Atom PDF