XmlSchemaContentProcessing Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about the validation mode of any
and anyAttribute
element replacements.
public enum class XmlSchemaContentProcessing
public enum XmlSchemaContentProcessing
type XmlSchemaContentProcessing =
Public Enum XmlSchemaContentProcessing
- Inheritance
Fields
Name | Value | Description |
---|---|---|
None | 0 | Document items are not validated. |
Skip | 1 | Document 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 = |
Lax | 2 | If 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 = |
Strict | 3 | The schema processor must find a schema associated with the indicated namespace to validate the document items. If the processor cannot find a schema or if the items are not valid, the XML processor attempts to notify the client through a validation event handler with Severity = |
Applies to
See also
.NET