XML Schema Preferences
To configure options regarding XML Schema, open the Preferences dialog box and go to .
This preferences page allows you to configure the following options:
- Default XML Schema version
- Allows you to select the version of XML Schema to be used as the default. You can
choose 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 the New document wizard.
- Default XML Schema validation engine
- Allows you to select the default validation engine to be used for XML Schema. You can choose Xerces or Saxon EE.
- Xerces validation features section
-
- Enable full schema constraint checking
- Sets the schema-full-checking feature to
true
. This enables a validation of the parsed XML document against a schema (XML Schema or DTD) while the document is parsed. - Enable honour all schema location feature
- Sets the honour-all-schema-location feature to
true
. All the files that declare XML Schema components from the same namespace are used to compose the validation model. If this option is not selected, only the first XML Schema file that is encountered in the XML Schema import tree is taken into account. - Enable full XPath 2.0 for alternative types
- When selected (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
- Controls whether or not comments and processing instructions are visible to the XPath expression used for defining an assertion in XSD 1.1.
- Saxon EE validation features section
-
- 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 or not comments and processing instructions are visible to the XPath expression used to define an assertion. By default, they are not made visible (unlike Saxon 9.3).