XQuery
 

Figure 15.28. The XQuery preferences panel

The XQuery preferences panel
XQuery validate with

Allows you to select the XSLT Processor to validate the XQuery

Format transformer output

When checked the transformer's output is formatted and indented (pretty printed).

Create structure indicating the type nodes

If checked, <oXygen/> takes the results of a query and creates an XML document containing copies of all items in the sequence, suitably wrapped.

 Saxon
 

Figure 15.29. The Saxon XQuery preferences panel

The Saxon XQuery preferences panel

Saxon8 options:

Allow calls on extension functions

If checked external functions called is allowed. Not checking this is recommended in an environment where untrusted stylesheets may be executed. Also disables user-defined extension elements, together with the writing of multiple output files, all of which carry similar security risks.

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 or signal the error and do not attempt recovery.

Strip whitespaces

Can have one of the three values: All, Ignore, None. All - strips all whitespace text nodes from source documents before any further processing, regardless of any xml:space attributes in the source document. Ignore - strips all ignorable whitespace text nodes from source documents before any further processing, regardless of 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.

Saxon8SA specific options:

Schema based validation of the source

This determines whether source documents should be parsed with schema-validation enabled.

Lax schema based validation of the source

This determines whether source documents should be parsed with schema-validation enabled.

Validation errors in the result tree treated as warnings

If checked, all validation errors are treated as warnings, otherwise they are treated as fatal.