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
determine
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
following values:
- All - Strips all whitespace text nodes from source documents
before any further processing, regardless of
any
xml:space attributes in the
XML
source document.
- Ignorable - Strips all ignorable whitespace text nodes from
source documents before any further processing, regardless of any
xml:space
attributes in the
XML
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.
- 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.
- Allow
calls on extension functions - If checked, calling external Java functions is
allowed.
- Validation of the source file - Available only for Saxon EE. It can
have
three values:
- Schema validation - This mode requires an XML Schema and enables
parsing the
source documents
with
schema-validation enabled.
- Lax schema validation - This mode enables
parsing the
source documents
with
schema-validation enabled if an XML Schema is provided.
- Disable schema validation - This means
parsing the
source documents
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
checked,
Saxon EE runs the XQuery transformation with the XQuery 1.1 support.
- Backup files updated by XQuery
("-backup:(on|off)") - If checked,
backup versions
for
any XML files
updated
with XQuery
Update will be
generated.