Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

Fa3SchemaValidator

OfficeIMO.Invoicing.Validation

Namespace
OfficeIMO.Invoicing.Validation
Assembly
OfficeIMO.Invoicing.Validation
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Offline, bounded FA(3) XSD validation over an immutable pinned schema bundle.

Inheritance

  • object
  • Fa3SchemaValidator

Constructors

public Fa3SchemaValidator(Fa3SchemaBundle bundle) #

Creates a validator using a verified bundle; no schema download occurs.

Parameters

bundle OfficeIMO.Invoicing.Validation.Fa3SchemaBundle required

Methods

public Fa3SchemaValidationResult Validate(byte[] xml, CancellationToken cancellationToken = default) #

Validates a defensive input snapshot, rejecting DTDs and document-controlled schema locations.

Parameters

xml byte[] required
cancellationToken System.Threading.CancellationToken = default optional