Project

Profile

Help

Bug #5103

Documentation: schema-aware XQuery

Added by Michael Kay about 1 month ago. Updated 21 days ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2021-09-23
Due date:
% Done:

0%

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

Description

The documentation section

schema-processing/saquerycmd

contains the paragraph

The Enterprise Edition of Saxon also allows you to validate result documents (both final result documents and intermediate results). By default, elements constructed by the query are validated in lax mode, which means that they are validated if a schema declaration is available, and are not validated otherwise. You can set a different initial validation mode either using the declare validation declaration in the Query Prolog, or by issuing a call such as staticQueryContext.pushValidationMode(Validation.SKIP) in the calling API.

This is riddled with errors. XQuery does not have a concept of "result documents". Elements constructed by a query are not validated by default. There is no "declare validation" declaration in the Query Prolog, and the Saxon class StaticQueryContext does not have a pushValidationMode() method.

History

#1 Updated by Michael Kay 21 days ago

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

Deleted the paragraph on the 10 branch. (Already fixed on the 11 branch).

Please register to edit this issue

Also available in: Atom PDF