Project

Profile

Help

Bug #6158

closed

Errors in xsl:fallback not detected

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2023-08-06
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

See XSLT 4.0 spec issue 649.

I wrote an XSLT 4.0 stylesheet using xsl:array, with the fallback instruction <xsl:fallback select="array{1 to 10}"/>. The xsl:fallback instruction does not take a select attribute, but it was evaluated in forwards compatibility mode, so the error was not detected. This makes no sense, so issue 649 has been raised to change the spec. This issue implements this change in Saxon - whether running as a 3.0 or 4.0 processor.

Actions #1

Updated by Michael Kay 9 months ago

  • 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

Two test cases added to XSLT4 version test set.

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