A SchemaValidator
is an object that is used for validating instance documents
against a schema. The schema consists of the collection of schema components that are
available within the schema cache maintained by the SchemaManager
, together with
any additional schema components located during the course of validation by means of an
xsl:schemaLocation
or xsi:noNamespaceSchemaLocation
attribute within the
instance document.
For a list of all members of this type, see SchemaValidator Members.
System.Object
SchemaValidator
If validation fails, an exception is thrown. If validation succeeds, the validated document can optionally be written to a specified destination. This will be a copy of the original document, augmented with default values for absent elements and attributes, and carrying type annotations derived from the schema processing. Saxon does not deliver the full PSVI as described in the XML schema specifications, only the subset of the PSVI properties featured in the XDM data model.
Namespace: Saxon.Api
Assembly: saxon8api (in saxon8api.netmodule)