Saxon API for .NET

SchemaValidator Properties

The properties of the SchemaValidator class are listed below. For a complete list of SchemaValidator class members, see the SchemaValidator Members topic.

Public Instance Properties

ErrorList List of errors. The caller may supply an empty list before calling Compile; the processor will then populate the list with error information obtained during the schema compilation. Each error will be included as an object of type StaticError. If no error list is supplied by the caller, error information will be written to the standard error stream.
IsLax The validation mode may be either strict or lax. The default is strict; this property is set to indicate that lax validation is required. With strict validation, validation fails if no element declaration can be located for the outermost element. With lax validation, the absence of an element declaration results in the content being considered valid.

See Also

SchemaValidator Class | Saxon.Api Namespace