PhoenixmlDb.Core

CompiledSchema

A schema compiled from one or more root documents and everything they include, import or redefine. It does not change: a schema whose documents change is compiled again, into a new instance.

#CompiledSchema

Namespace: PhoenixmlDb.Core.Schema

A schema compiled from one or more root documents and everything they include, import or redefine. It does not change: a schema whose documents change is compiled again, into a new instance.

#Properties

Name Description
Documents Every document that was read: the roots and the whole closure of what they refer to, each with the version that was compiled. A schema is out of date when any of them has changed, not only a root.
GateIdentity The ISchemaAccessGate.Identity of the gate its documents were read through.
PatternMatchTimeout The SchemaCompileOptions.PatternMatchTimeout the schema was compiled with: the most time one match of a pattern facet takes in a validation against it. Null for none.
Requests The request each document was read by, keyed by its absolute URI.
Roots The documents the schema was asked for by.
SchemaSet The compiled set, for validating against. It is shared: many threads validate against it at once, which is safe only while nobody changes it. Do not add to it, remove from it or compile it again.
Warnings Warnings the compilation reported. A schema with errors is never constructed.