Project

Profile

Help

Bug #2179

closed

err: variables undeclared within an AVT

Added by Michael Kay over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XQuery conformance
Sprint/Milestone:
Start date:
2014-10-13
Due date:
% Done:

100%

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

Description

From Gunther Rademacher on saxon-help list:

This XQuery

try {parse-xml("")} catch * {}

is rejected with a message of

XPST0008: Variable $err:code has not been declared

The following however works as expected:

try {parse-xml("")} catch * {{$err:code}}

Tested on Saxon-HE 9.6.0.1, but also occurs with Saxon-EE 9.5.

Best regards,

Gunther

Please register to edit this issue

Also available in: Atom PDF