THPDFSchematronSummary Record
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 for XE2+
EvaluationErrors: Integer;// rule expressions that could not be executed
Violations: Integer; // asserts that failed + reports that fired
EngineAvailable: Boolean; // False on Delphi 7 stub
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 on XE2 and later |
EvaluationErrors | Rule expressions that could not be executed |
Violations | Asserts that failed plus reports that fired |
EngineAvailable | False when only the Delphi 7 stub engine is present |
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