System.Xml.Schema.XmlSchemaContentProcessing Enumeration

Assembly: System.Xml.dll
Namespace: System.Xml.Schema
Summary
Provides information about the validation mode of any and anyAttribute element replacements.
C# Syntax:
[Serializable]
public enum XmlSchemaContentProcessing
See also:
System.Xml.Schema Namespace | ValidationEventHandler

System.Xml.Schema.XmlSchemaContentProcessing Member List:

Public Fields
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 ValidationEventArgs.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 ValidationEventArgs.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.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.