Actions
Feature #6307
openSaxon (HE; Java) trace missing xsl:accumulator and xsl:accumulator-rule, and v12.4 is missing the descendants
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
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.)
Updated by Michael Kay 7 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.
Please register to edit this issue
Actions