PhoenixmlDb.Core

SchemaAccessGate

The gates the layer provides.

#SchemaAccessGate

Namespace: PhoenixmlDb.Core.Schema

The gates the layer provides.

#Properties

Name Description
SuppliedOnly Admits nothing: a schema can be made only of the SchemaSource documents the host supplies. A reference to anything else fails.

#Methods

#LocalFiles(String[])

Admits

file:

documents under one of

, and nothing else.

Exceptions:

  • ArgumentException — No root was given.

The roots must be writable only by the operator. Someone who can write inside a root can place there whatever a schema is then compiled from.

A file is opened once, and admitted by the path of the open file, as the operating system reports it with every link resolved (Linux and Windows). On a platform where the layer cannot ask that, a path with a symbolic link in any component below its root is refused instead, looked at before the open and again after it.