PhoenixmlDb.Core

SchemaValidationOptions

What one validation checks, and when it stops.

#SchemaValidationOptions

Namespace: PhoenixmlDb.Core.Schema

What one validation checks, and when it stops.

#Properties

Name Description
CheckIdentityConstraints Whether xs:key, xs:keyref and xs:unique are checked. True by default.
Default The options used when none are given.
MaxDepth How deeply the instance's elements may nest; deeper is an error and validation stops. 0, the default, sets no limit: the layer does not know what a host's documents look like.
MaxDiagnostics The most diagnostics collected. Validation stops there and the result says it was cut short. 1,000 by default.
ReportWarnings Whether the schema processor's warnings are reported with the errors. False by default.
RequireDeclaredRoot Whether the document element must be declared by the schema. True by default. An element the schema says nothing about is otherwise not an error to the schema processor, so a document validated against the wrong schema, or against none of its namespace, would be reported valid.