Project

Profile

Help

Bug #6157

closed

xsl:array instruction does not perform fallback processing

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

Status:
Closed
Priority:
Low
Assignee:
Category:
Features new in 4.0
Sprint/Milestone:
-
Start date:
2023-08-05
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

If an xsl:array instruction is present with an effective version of 4.0 but Saxon is running as a 3.0 processor (i.e. 4.0 extensions are not enabled) then xsl:array should perform fallback processing:

  • if xsl:fallback is present it should be executed
  • if there is no xsl:fallback we should get a dynamic error on execution, not a static error

Test cases arrays-001b and array-001c demonstrate this.

Actions #1

Updated by Michael Kay 9 months ago

  • Status changed from New to Resolved
  • Applies to branch 12, trunk added
  • Fix Committed on Branch 12, trunk added
  • Platforms .NET, Java added

I have fixed this for the 12.x and main branches. I'm not intending to back-port the fix to earlier branches.

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