This documentation is archived and is not being maintained.

XmlSchemaContentProcessing Enumeration

Provides information about the validation mode of any and anyAttribute element replacements.

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

Members

Member name Description
Lax If the item has a uniquely determined declaration available, it must be valid with respect to that definition. Otherwise, the item is not validated.

If the item is not validated, the XML processor attempts to notify the client through a validation event handler with Severity = XmlSeverityType.Warning. If a validation event handler has not been setup, no information is returned when the warning is produced.

None The item is not validated.
Skip The item must consist of well-formed XML and is not validated by the schema.

The XML processor attempts to notify the client through a validation event handler with Severity = XmlSeverityType.Warning that no validation took place for the given item. If a validation event handler has not been setup, no information is returned when the warning is produced.

Strict The item must be schema-valid based on the schema definition obtained from the namespace-qualified item name.If a validation error occurs, and a validation event handler is not provided, an exception is thrown.

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 | ValidationEventHandler

Show: