Project

Profile

Help

Feature #6307

open

Saxon (HE; Java) trace missing xsl:accumulator and xsl:accumulator-rule, and v12.4 is missing the descendants

Added by A Galtman 11 months ago. Updated 6 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-12-27
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

  • Is the trace supposed to mark xsl:accumulator as hit?
  • Is the trace supposed to mark xsl:accumulator-rule as hit?
  • I definitely expect descendant elements of xsl:accumulator-rule to be marked as hit, and I'm not seeing them in Saxon 12.4. Saxon 9.9.1.8 correctly lists the descendants of xsl:accumulator-rule.

I'm attaching a file that includes the code, the Saxon arguments I used, and the traces I got from Saxon 9.9.1.8 and 12.4.


Files

accumulator-trace-example.xsl (6.58 KB) accumulator-trace-example.xsl A Galtman, 2023-12-27 22:51
Actions #1

Updated by Michael Kay 11 months ago

xsl:accumulator evaluation is effectively in parallel with normal execution (the details depend on whether you're streaming or not) so it would not be possible to mix any trace output with that of other instructions. There is a completely separate mechanism for tracing accumulator evaluation: use saxon:trace="yes" on the xsl:accumulator declaration. (But again, it's probably under-tested.)

Actions #2

Updated by Michael Kay 6 months ago

I've been looking into this; it's not a quick fix. I'll look at it as a possible enhancement for a major release.

Actions #3

Updated by Michael Kay 6 months ago

  • Tracker changed from Bug to Feature

Please register to edit this issue

Also available in: Atom PDF