Project

Profile

Help

Bug #5103

closed

Documentation: schema-aware XQuery

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

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

100%

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.

Actions #1

Updated by Michael Kay over 2 years 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).

Actions #2

Updated by Debbie Lockett about 2 years ago

  • Category set to Documentation
  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Documentation for Saxon 10 updated online (XML and HTML versions).

Please register to edit this issue

Also available in: Atom PDF