Project

Profile

Help

Bug #5409

closed

xsl:message document is not available as $err:value

Added by Michael Kay about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT Conformance
Sprint/Milestone:
-
Start date:
2022-03-19
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2, Trunk
Fix Committed on JS Branch:
2, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Section 8.3 of the XSLT 3.0 spec states that if the error arising from <xsl:message terminate> is caught using try/catch, then the document node holding the error message constructed by xsl:message should be available in the catch block as $err:value. This is not happening.

Test case message-0501 fails as a result, with either compiler.

Fixed in the code of Expr["message"].

Actions #1

Updated by Debbie Lockett almost 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to SaxonJS 2.4

Bug fix applied in the SaxonJS 2.4 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page