IHPDFESchematronEngine Interface
IHPDFESchematronEngine = interface
['{D6A1F2C4-9B3E-4A7D-8C12-1F5E6A7B8C9D}']
function Load(const SchematronPath: string; out ErrorText: string): Boolean;
function Validate(const XMLBytes: TBytes): THPDFBusinessRuleResults;
function LastSummary: THPDFSchematronSummary;
end;
電子請求書のビジネスルール検証の背後にあるエンジン抽象化です。実装は Load を通じて .sch ファイルを 1 回パースし、その後 Validate を通じて提供された請求書 XML バイトストリームに対してすべてのルールを評価します
LastSummary は報告用に、直近の検証の結果カウンタを公開します