HPDFCreateSaxonSchematronEngine

Small Business edition: the units behind this feature ship in Lib\SmallBusiness with HotPDF Small Business and Enterprise and are not part of the Single edition

Creates the optional engine for official compiled CII Schematron XSLT stylesheets

Declaration

function HPDFCreateSaxonSchematronEngine(const JavaExecutable, ClassPath: string;
  TimeoutMilliseconds: Cardinal): IHPDFESchematronEngine;

Unit

HPDFEInvoiceSaxon

Behavior

Supply an existing Java executable and the Saxon HE class path with its runtime dependencies, and a zero timeout selects 60000 milliseconds

Timeouts above 3600000 milliseconds raise an exception, diagnostic output is limited to 8 MiB, and compiled stylesheets and SVRL reports are limited to 64 MiB before loading

The Windows XE2 and later implementation and the Free Pascal implementation on Windows and Unix securely parse input XML, launch Java without a shell or visible console, parse SVRL, and fail closed on missing runtime, wrong syntax, timeout, or invalid output

Related APIs

E-Invoice Business-Rule Validation

THPDFEInvoiceValidationReport