Project

Profile

Help

Bug #6158

closed

Errors in xsl:fallback not detected

Added by Michael Kay 9 months ago. Updated 6 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.

Please register to edit this issue

Also available in: Atom PDF