/// <summary> /// List of errors. The caller may supply an empty list before calling <c>Compile</c>; /// the processor will then populate the list with error information obtained during /// the query compilation. Each error will be included as an object of type <c>XmlProcessingError</c>. /// If no error list is supplied by the caller, error information will be written to /// the standard error stream. /// </summary> /// <remarks> /// <para>By supplying a custom <c>List</c> with a user-written <c>add()</c> method, it is possible to /// intercept error conditions as they occur.</para> /// <para>Note that this error list is used only for errors detected during the compilation /// of the stylesheet. It is not used for errors detected when executing the stylesheet.</para> /// </remarks> /// <param name="value">Supplied list.</param> public void SetErrorList(IList <XmlProcessingError> value) { errorReporter = new ErrorReporter(value); compiler.setErrorReporter(errorReporter); }