Saxon API for .NET

SchemaValidator.IsLax Property

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.

public bool IsLax {get; set;}

See Also

SchemaValidator Class | Saxon.Api Namespace