This documentation is archived and is not being maintained.

XmlSeverityType Enumeration

Represents the severity of the validation event.

[Visual Basic]
<Serializable>
Public Enum XmlSeverityType
[C#]
[Serializable]
public enum XmlSeverityType
[C++]
[Serializable]
__value public enum XmlSeverityType
[JScript]
public
   Serializable
enum XmlSeverityType

Members

Member name Description
Error Indicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML-Data Reduced (XDR) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception.
Warning Warnings indicate that a validation event occurred that is not an error but may be important enough to warn the user about. A warning is typically issued when there is no DTD, XML-Data Reduced (XDR) or XML Schema (XSD) to validate a particular element or attribute against. The XmlValidatingReader.ValidationType setting determines the type of the schema used. Unlike errors, warnings do not throw an exception if there is no validation event handler.

Requirements

Namespace: System.Xml.Schema

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Xml (in System.Xml.dll)

See Also

System.Xml.Schema Namespace

Show: