Method FromFile(string, string?, string?)

Assembly: redb.Route.dll

Creates a validator from an XSD file, with its xs:import and xs:include read relative to the
file. Imports and includes are read only from under schemaRoot: one that is not found, lies
outside it or points to the network (http://...) is an error naming it, as is any problem the schema
compiler reports. A DOCTYPE in the schema or an imported file is skipped, never fetched.

public static XsdValidator FromFile(string path, string? targetNamespace = null, string? schemaRoot = null)