THPDFSchematronSummary Record
Small Business edition: This API belongs to HotPDF Small Business (HotPDFSB / Lib\SmallBusiness) and is also included in HotPDF Enterprise.
Summarizes one Schematron run with rule counts, violation totals, and engine availability
Declaration
THPDFSchematronSummary= record
Profile: AnsiString;
TotalRules: Integer; // number of <assert>/<report> entries scanned
Evaluated: Integer; // rules whose contexts and tests were processed
Skipped: Integer; // legacy/stub engines only; zero with the built-in engine
EvaluationErrors: Integer;// rule expressions that could not be executed
Violations: Integer; // asserts that failed + reports that fired
EngineAvailable: Boolean; // False with the stub engine
EngineNote: AnsiString; // human-readable availability / error reason
end;
Unit
HPDFEInvoiceValidator
Fields
| Field | Purpose |
|---|---|
Profile | Profile identifier of the loaded Schematron, matching the invoice conformance level |
TotalRules | Number of <assert> and <report> entries scanned |
Evaluated | Rules whose contexts and tests were actually processed |
Skipped | Rules skipped by legacy or stub engines; zero with the built-in engine |
EvaluationErrors | Rule expressions that could not be executed |
Violations | Asserts that failed plus reports that fired |
EngineAvailable | False when only the stub engine is present (Delphi 7, Free Pascal outside Windows) |
EngineNote | Human-readable availability or error reason |
Usage notes
- Read the summary from
IHPDFESchematronEngine.LastSummaryor fromTHPDFEInvoiceValidationReport.BusinessSummary - Counts are precomputed so callers can render a one-line result without scanning the rule array
EngineAvailableFalse means business rules were not executed, and a hybrid invoice must fail closed