THPDFSchematronSummary レコード

Schematron 実行の結果を、ルール数、違反合計、エンジンの利用可否とともに 1 つにまとめて報告します

宣言

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;

ユニット

HPDFEInvoiceValidator

フィールド

フィールド目的
Profileロード済み Schematron のプロファイル識別子。請求書の適合レベルと一致します
TotalRules走査した <assert> と <report> エントリの数
Evaluatedコンテキストとテストが実際に処理されたルールの数
Skippedレガシーやスタブのエンジンがスキップしたルールの数。XE2 以降では 0
EvaluationErrors実行できなかったルール式の数
Violations失敗した assert と発火した report の合計
EngineAvailableDelphi 7 のスタブエンジンしかないとき False
EngineNote利用可否またはエラー理由を人間が読める形で示したもの

使用上の注意

関連 API