Class ValidationOptions
ValidationOptions control the behaviour of the Validate() method of SchematronProcessor. Validate(XDocument, ValidationOptions) Validate(XDocument, out XDocument, ValidationOptions)
Inheritance
Inherited Members
Namespace: Schematron4Net
Assembly: Schematron4Net.dll
Syntax
public class ValidationOptions
Properties
InformationRoles
InformationRoles specifies a list of strings that are used for the role attribute of an assert or report element and are to be classified as ValidationResult.Information . All other role content will result in an ValidationResult.Error . Default: {"INFO", "information"}
Declaration
public HashSet<string> InformationRoles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.String> |
Phase
Phase specifies either the phase name of the specified Schematron that is to be used, or "#ALL" if all patterns should be active patterns, or "#DEFAULT" if the defaultPhase attribute on the schema element shall be used. Default: "#ALL"
Declaration
public string Phase { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WarningRoles
WarningRoles specifies a list of strings that are used for the role attribute of an assert or report element and are to be classified as ValidationResult.Warning . All other role content will result in an ValidationResult.Error . Default: {"WARN", "warning"}
Declaration
public HashSet<string> WarningRoles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.String> |