XML Schema Preferences
To configure the XML Schema options, open the
Preferences dialog box and go to .
This preferences page allows you to configure the following options:
Xerces validation features
-
Default XML Schema version - Allows you to select the version of
W3C XML Schema: XML Schema 1.0 or XML Schema
1.1.
Note: You are also able to set the XML Schema version using
the
Customize option in
New dialog box.
-
Default XML Schema validation engine - Allows you to set the
default XML Schema validation engine either to Xerces or
Saxon EE.
-
Enable full schema constraint checking
(http://apache.org/xml/features/validation/schema-full-checking) - Sets the
schema-full-checking feature to true. This enables a validation of the parsed XML
document against a schema (W3C XML Schema or DTD) while the document is parsed.
-
Enable honour all schema location feature
(http://apache.org/xml/features/honour-all-schema-location) - Sets the
honour-all-schema-location feature to true. All the files that declare W3C XML
Schema components from the same namespace are used to compose the validation model. In
case this option is disabled, only the first W3C XML Schema file that is encountered in
the XML Schema import tree is taken into account.
-
Enable full XPath 2.0 in assertions and alternative types
(http://apache.org/xml/features/validation/cta-full-xpath-checking ) - When enabled
(default value), you can use the full XPath support in assertions and alternative types.
Otherwise, only the XPath support offered by the Xerces engine is available.
-
Assertions can see comments and processing instructions
(http://apache.org/xml/features/validation/assert-comments-and-pi-checking ) - Controls
whether comments and processing instructions are visible to the XPath expression used for
defining an assertion in XSD 1.1.
Saxon validation features
-
Multiple schema imports - Forces xs:import to fetch the referenced
schema document. By default, the xs:import fetches the document only if no schema document
for the given namespace has already been loaded. With this option in effect, the
referenced schema document is loaded unless the absolute URI is the same as a schema
document already loaded.
-
Assertions can see comments and processing instructions - Controls
whether comments and processing instructions are visible to the XPath expression used to
define an assertion. By default (unlike Saxon 9.3), they are not made visible.