This documentation is archived and is not being maintained.

XmlSchemaContentProcessing Enumeration

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

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

public enum XmlSchemaContentProcessing

Member nameDescription
Supported by the .NET Compact FrameworkSupported by the XNA FrameworkNoneDocument items are not validated.
Supported by the .NET Compact FrameworkSupported by the XNA FrameworkSkipDocument items must consist of well-formed XML and are 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 set up, no information is returned when the warning is produced.

Supported by the .NET Compact FrameworkSupported by the XNA FrameworkLaxIf the associated schema is found, the document items will be validated. No errors will be thrown otherwise.

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 set up, no information is returned when the warning is produced.

Supported by the .NET Compact FrameworkSupported by the XNA FrameworkStrictThe schema processor must find a schema associated with the indicated namespace to validate the document items.

If the processor cannot find a schema, or the items are not valid, the XML processor attempts to notify the client through a validation event handler with Severity = XmlSeverityType.Warning. If a validation error occurs and a validation event handler is not provided, an exception is thrown.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show: