Project

Profile

Help

Bug #5922

closed

Using saxon:array-member instruction in Saxon 12.0 requires XSLT 4.0

Added by Debbie Lockett about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2023-03-16
Due date:
% Done:

100%

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

Description

When the saxon:array-member extension instruction is used in an XSLT 3.0 stylesheet with Saxon 12.0, this results in an error:

XTSE0010  Element saxon:array-member is allowed only if XSLT 4.0 is enabled

(See failures for xslt30 extra tests array-004 and tabulate-maps-002.)

Indeed, from Saxon 11, saxon:array-member is now a synonym for xsl:array-member in XSLT 4.0; but if the saxon namespace is used, the instruction should be available in XSLT 3.0 too. Note that we do not get the error using the saxon:array instruction which is a synonym for xsl:array in XSLT 4.0. Also we don't get the error with Saxon 11.

Actions #1

Updated by Debbie Lockett about 1 year ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 12, trunk added

Fix committed on saxon12 and main branches: add override for isInXsltNamespace method in XSLArrayMember (copied from XSLArray).

Actions #2

Updated by O'Neil Delpratt about 1 year ago

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

Bug fix applied in the Saxon 12.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF