Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.​Xml.​Schema.​XmlSchemaContentProcessing
Assembly: System.Xml.ReaderWriter
Provides information about the validation mode of <see langword="any" /> and <see langword="anyAttribute" /> element replacements.
Values
None
Document items are not validated.
Skip
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 <see cref="P:System.Xml.Schema.ValidationEventArgs.Severity" /> = <see langword="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.
Lax
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 <see cref="P:System.Xml.Schema.ValidationEventArgs.Severity" /> = <see langword="XmlSeverityType.Warning" /> . If a validation event handler has not been set up, no information is returned when the warning is produced.
Strict
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 <see cref="P:System.Xml.Schema.ValidationEventArgs.Severity" /> = <see langword="XmlSeverityType.Warning" /> . If a validation error occurs and a validation event handler is not provided, an exception is thrown.