Bug #3965
closedfn:transform: saxon:schema-validation in vendor-options
100%
Description
The Saxon documentation of fn:transform states:
Validation of source documents may be requested either (a) by supplying a configuration file in which the option has been set, or (b) by setting the option "vendor-options": map {QName('http://saxon.sf.net/', 'schema-validation'): 'strict'}. (The value 'lax' can also be used.) Either option affects documents supplied using the source-node, source-location, or global-context-item options. Setting the option in the configuration file also affects documents read using the doc() or document() functions. Neither option affects documents supplied in the initial-match-selection option, or in any of the xxx-params options (such as stylesheet-params).
However, the code makes no attempt to examine any schema-validation option in the vendor-options. There is code to perform validation if the variable schemaValidation is set, but this variable is never set to any value other than its default, which performs no validation.
Note also, in qt3extra, test fn-transform-6 tests a withdrawn feature, the ability to set individual configuration options in the vendor=options map.
Please register to edit this issue