Project

Profile

Help

Bug #6168

closed

mode="#all" failures with JIT enabled

Added by Michael Kay 9 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2023-08-14
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

I wrote a new test match-285 that uses mode="#all" when there is a mode zzz that is never referenced explicitly in an xsl:template, xsl:mode, or xsl:apply-templates element, but exists only by virtue of being mentioned in an xsl:default-mode attribute. The test is failing in both SaxonJ 11 and SaxonJ 12 when the test is run in -jit mode.

The similar test match-245 is failing in JIT mode on the 12 branch but not the 11 branch.

Actions #1

Updated by Michael Kay 9 months ago

  • Category set to XSLT conformance
  • Status changed from New to Resolved
  • Priority changed from Low to Normal
  • Applies to branch 12, trunk added
  • Fix Committed on Branch 12, trunk added
  • Platforms .NET, Java added

Changed the design to collect all the mode names in the stylesheet (in the Compilation object) during the initial use-when filter pass, which touches every element regardless of JIT settings.

Actions #2

Updated by O'Neil Delpratt 5 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.4 added

Bug fix applied in the Saxon 12.4 maintenance release

Please register to edit this issue

Also available in: Atom PDF