Saxon API for .NET

XQueryCompiler.ErrorList Property

List of errors. The caller should supply an empty list before calling Compile; the processor will then populate the list with error information obtained during the 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.

See Also

XQueryCompiler Class | Saxon.Api Namespace