Project

Profile

Help

Bug #1597

closed

A context item declaration is allowed only in XQuery 1.1

Added by Adrian Buza almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Low
Category:
Localization
Sprint/Milestone:
-
Start date:
2012-07-26
Due date:
% Done:

100%

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

Description

Whenever a context item declaration is used with the default XQuery support (1.0), Saxon reports this error message:

"A context item declaration is allowed only in XQuery 1.1"

This is a little confusing for the user since the XQuery 1.1 support (-qversion:1.1) has been replaced with XQuery 3.0 support in Saxon 9.4 (-qversion:3.0).

The message should probably make reference to XQuery 3.0 since XQuery 1.1 has remained behind.

e.g.

Please register to edit this issue

Also available in: Atom PDF