XmlSchemaValidationFlags

XmlSchemaValidationFlags enum

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

enum class XmlSchemaValidationFlags

Values

NameValueDescription
None0Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.
ProcessInlineSchema1Process inline schemas encountered during validation.
ProcessSchemaLocation2Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.
ReportValidationWarnings4Report schema validation warnings encountered during validation.
ProcessIdentityConstraints8Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.
AllowXmlAttributes16Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.

See Also