The XQuery transformation scenario allows configuring advanced options specific for the Saxon
HE (Home Edition) / PE (Professional Edition) / EE (Enterprise Edition) engine. They are the same options as the ones set in the user preferences but they
are configured as a specific set of transformation options for each transformation scenario.
The default values of the options in the transformation scenario are the values set in the user preferences. The
advanced options specific for Saxon HE / PE / EE are:
- Use a configuration file - If checked, the specified Saxon
configuration file will be used to specify the Saxon advanced options.
- Recoverable errors - Policy for handling recoverable errors in the
stylesheet. Allows the user to choose how dynamic errors will be handled. Either one of the
following options can be selected:
- recover silently
- recover with warnings
- signal the error and do not attempt recovery
- Strip whitespaces - Can have one of the three options:
- All - Strips all whitespace text nodes from source documents
before any further processing, regardless of any xsl:strip-space
declarations in the stylesheet, or any xml:space attributes in the
source document.
- Ignorable - Strips all ignorable whitespace text nodes from
source documents before any further processing, regardless of any
xsl:strip-space declarations in the stylesheet, or any
xml:space attributes in the source document. Whitespace text nodes
are ignorable if they appear in elements defined in the DTD or schema as having
element-only content.
- None - Strips no whitespace before further processing.
(However, whitespace will still be stripped if this is specified in the stylesheet using
xsl:strip-space).
- Optimization level - Allows optimization to be suppressed in cases
where reducing compile time is important, or where optimization gets in the way of
debugging, or causes extension functions with side-effects to behave unpredictably.
- Disable calls on extension functions - If checked, calling external
Java functions is disallowed.
- Validation of the source file - Available only for Saxon EE. It can
have the values:
- Schema validation - This mode requires an XML Schema and
determines whether source documents should be parsed with schema-validation
enabled.
- Lax schema validation - This mode determines whether source
documents should be parsed with schema-validation enabled if an XML Schema is
provided.
- Disable schema validation - This determines whether source
documents should be parsed with schema-validation disabled.
- Validation errors in the results
tree treated as warnings - Available only for Saxon EE. If checked, all
validation errors are treated as warnings, otherwise they are treated as fatal.
- Enable XQuery 1.1 support - If it is checked Saxon EE runs the
XQuery transformation with the XQuery 1.1 support.
- Backup files updated by XQuery
("-backup:(on|off)") - If checked, a backup version is generated for any XML
files that is updated with XQuery Update.