Saxon API for .NET |

# SchemaManager.ErrorList Property

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.

public System.Collections.IList ErrorList {get; set;}

#### Remarks

By supplying a custom List with a user-written add() method, it is possible to intercept error conditions as they occur.

Note that this error list is used only for errors detected during the compilation of the schema. It is not used for errors detected when using the schema to validate a source document.

#### See Also

SchemaManager Class | Saxon.Api Namespace