Project

Profile

Help

Bug #4133

closed

XQuery 3.1 err:additional not bound

Added by Debbie Lockett about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
2019-02-12
Due date:
% Done:

100%

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

Description

For XQuery 3.1 try/catch, in comparison to XSLT 3.0 try/catch, there is an extra variable implicitly declared in the scope of the catch clause, namely err:additional.

https://www.w3.org/TR/xquery-31/#id-try-catch says that the value of err:additional is "Implementation-defined. This variable must be bound so that a query can reference it without raising an error. The purpose of this variable is to allow implementations to provide any additional information that might be useful."

But the variable is not bound in Saxon, and so references do raise an error.

There are tests that the other variables (err:line-number, etc.) are defined in QT3 prod/TryCatchExpr, but no tests for err:additional.

Please register to edit this issue

Also available in: Atom PDF