# SaxonInvoiceRulesRunner

Runs pinned Schematron artifacts with a locally installed, explicitly configured SaxonJ-HE 12.10 runtime.

Class 

`OfficeIMO.Invoicing.Validation`

**Namespace**

`OfficeIMO.Invoicing.Validation`

**Assembly**

`OfficeIMO.Invoicing.Validation`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[SaxonInvoiceRulesRunner.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L21)

**Modifiers**

sealed

Runs pinned Schematron artifacts with a locally installed, explicitly configured SaxonJ-HE 12.10 runtime.

## Inheritance

- object
- SaxonInvoiceRulesRunner

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Constructor [InvoiceValidator.InvoiceValidator](/api/invoicing-validation/officeimo-invoicing-validation-invoicevalidator/#constructor-ctor-officeimo-invoicing-validation-invoicerulebundle-officeimo-invoicing-validation-saxoninvoicerulesrunner) parameter `runner`

Filter members 

Show inherited

## Constructors

`public SaxonInvoiceRulesRunner(string saxonJarPath, string javaExecutable = "java", TimeSpan? timeout = null)` [#](#constructor-ctor-string-string-nullable-system-timespan)

[SaxonInvoiceRulesRunner.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L21)

Creates a runner without downloading or installing anything. Each subprocess has a bounded execution time.

Parameters

**saxonJarPath string required**

**javaExecutable string = "java" optional**

**timeout System.TimeSpan? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Identity { get; }` [#](#property-identity)

[SaxonInvoiceRulesRunner.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L28)

Verified main engine and companion JAR identities included in validation reports.

## Fields

`public const string DownloadUrl` [#](#field-downloadurl)

[SaxonInvoiceRulesRunner.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L12)

Official SaxonJ-HE distribution used by this adapter; retain its lib directory next to the main JAR.

Value: `https://downloads.saxonica.com/SaxonJ/HE/12/SaxonHE12-10J.zip`

`public const string ArchiveSha256` [#](#field-archivesha256)

[SaxonInvoiceRulesRunner.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L14)

SHA-256 of the official SaxonJ-HE 12.10 distribution archive.

Value: `1C7DB9F726DF835349C64EDD631DE0310ECA31291100230064EBA153F607B0BE`

`public const string JarSha256` [#](#field-jarsha256)

[SaxonInvoiceRulesRunner.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/SaxonInvoiceRulesRunner.cs#L16)

SHA-256 of saxon-he-12.10.jar.

Value: `89BCD071666C3268EE8C5E91E9C9812AD52B3E49D38A3A971720FDB428BFEEA9`

<!-- PowerForge markdown artifact sha256:5E5740788A765559AC1C3FC81F801E3FEB9161F2331C79CAD3DBB76B8FF663EA -->
