System.Xml.Schema.XmlSchemaValidationFlags Enumeration

Specifies schema validation options used by the System.Xml.Schema.XmlSchemaValidator and System.Xml.XmlReader classes.

Syntax

[System.Flags]
public enum XmlSchemaValidationFlags

Remarks

The following are notes to consider when using System.Xml.Schema.XmlSchemaValidationFlags values with the System.Xml.XmlReader.

The following are notes to consider when using the XmlSchemaValidationFlags.AllowXmlAttributes value.

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Members

Member NameDescription
AllowXmlAttributes

Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.

None

Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.

ProcessIdentityConstraints

Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.

ProcessInlineSchema

Process inline schemas encountered during validation.

ProcessSchemaLocation

Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.

ReportValidationWarnings

Report schema validation warnings encountered during validation.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0