Project

Profile

Help

Feature #4066

closed

Tracing of template rule matching

Added by Michael Kay over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2018-12-11
Due date:
% Done:

100%

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

Description

Although we have quite a few tracing options in Saxon, it can be difficult to trace which nodes are matched by which template rules.

I have added an option <xsl:mode saxon:trace="yes"/> that outputs (to the Configuration's Logger) an INFO message indicating the item that was selected by xsl:apply-templates, and the rule that was used to process it, including built-in template rules where appropriate.

Actions #1

Updated by Michael Kay over 5 years ago

  • Category set to Diagnostics
  • Priority changed from Low to Normal
  • Applies to branch 9.9 added
  • Fix Committed on Branch 9.9 added

The feature seems to be working well.

Actions #2

Updated by Michael Kay over 5 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Michael Kay over 5 years ago

Reworked to integrate better with the TraceListener architecture, and to provide indented entry/exit tracing to convey more information.

Actions #4

Updated by O'Neil Delpratt about 5 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.1 added

Bug fix applied to the Saxon 9.9.1.1 maintenance release.

Actions #5

Updated by O'Neil Delpratt about 5 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF