Saxon.Api
Class XmlProcessingError
- 
               public class XmlProcessingError
 - extends StaticError
 
            The XmlProcessorError class contains information about an error detected during
            compilation or execution of a stylesheet, query, XPath expression, or schema.
            
                  Property Summary | 
            |
|---|---|
| XmlProcessingError | AsWarning 
                        This get property returns a   | 
            
| string | FatalMessage 
                        Property to indicate that this error is to be treated as fatal, that is,
                        execution will be abandoned after reporting this error. This method may be called
                        by   | 
            
| HostLanguage | HostLanguage Property to get the host language where this error originates from.  | 
            
| bool | StaticError 
                        Property to check if this error is a   | 
            
| bool | TypeError Property which indicates whether this condition is a type error.  | 
            
                  Method Summary | 
            |
|---|---|
| bool | IsAlreadyReported() Ask whether this static error has already been reported.  | 
            
| void | SetAlreadyReported(bool reported) Say whether this error has already been reported.  | 
            
Property Detail
AsWarning
                  This get property returns a XmlProcessingError containing the same information, but to be treated as a warning condition.
                  
FatalMessage
                  Property to indicate that this error is to be treated as fatal, that is,
                  execution will be abandoned after reporting this error. This method may be called
                  by ErrorReporter, for example if the error is considered so server that further processing
                  is not worthwhile, or if too many errors have been signalled. there is no absolute
                  guarantee that
                  setting this property will cause execution to be abandoned.
                  It can also be used to ask whether this error is to be treated as fatal, 
                  and if so, return the relevant message.
                  
HostLanguage
Property to get the host language where this error originates from.
TypeError
Property which indicates whether this condition is a type error.
Method Detail
IsAlreadyReported
SetAlreadyReported
Say whether this error has already been reported.
Parameters:
reported - true if the error has been reported
Ask whether this static error has already been reported.
Returns: