Bug #5103
closedDocumentation: schema-aware XQuery
100%
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.
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).
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