The <xsd> element

The xsd element of the configuration file contains properties defining how schema documents are compiled by Saxon.

Attribute

Values

Effect

occurrenceLimits

MMM,NNN

Two integers, comma-separated. Controls the limits applied to minOccurs and maxOccurs values in XSD content models.

schemaUriResolver

Class implementing the Saxon SchemaURIResolver interface

Controls the handling of URIs in xs:include, xs:import etc. declarations, and also in xsi:schemaLocation

useXsiSchemaLocation

true|false

Indicates whether the schema processor takes account of xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes appearing in the instance document

version

1.0|1.1

Inidcates whether XSD 1.1 syntax is accepted