Repository navigation
v12.4.0
·
53 commits
to master
since this release
- Created new submodule
phive-result-pdffor generating PDF validation result reports (PhivePdfHelper), with optional PDF/A (all levels supported by ph-pdf-layout) and PDF/UA.
The fonts (Open Sans and Kurinto Mono) are embedded.
The styling can be changed in a subclass.
See issue #39 - Added the shared label enumeration
EPhiveResultLabelinphive-api, used by the HTML and the PDF output.
EPhiveHtmlLabeland thePhiveHtmlHelpermethods using it are deprecated; usePhiveHtmlHelper.label (EPhiveResultLabel, String)andallLabels (Map)instead PhiveHtmlHelperno longer shows the column "Location" of an error table if no error of that validation layer has a location- Added
PhiveHtmlHelper.vendor (String, String)to show the vendor that performed the validation ("Validated by ...") - Added
PhiveHtmlHelper.showFooter (boolean)to hide the footer with the link to phive - Added
SchematronZipResolverinphive-xmlthat resolves a Schematron in a ZIP file, including all files it includes, in memory into one self-contained, preprocessed Schematron (abstract patterns resolved, reports, diagnostics and titles kept).
Includes are only resolved from the ZIP entries, relative to the including file.
See issue #40 - Added
InMemoryZipContentinphive-xmlthat reads a ZIP file with limits for the unzipped size and the number of entries into memory.
DefaultVESLoaderXSDuses it; the error messages for too many entries and a too large unzipped size now start with "XSD resource type 'zip'" instead of "XSD ZIP file" - Updated to ph-schematron 10.3.5
- Schematron validation with the pure XPath engine (
SCHEMATRON_PURE_XPATH2) now runs on Saxon's native tree (TinyTree) instead of the wrapped DOM, for DOM sources, resources and partial sources alike, as the XSLT based engines already did.
Rules with//predicates on large documents no longer take time that grows quadratically with the document size.
See issue #42 - Added the requirement resolver
IVESRequirementResolver(VESLoader.setRequirementResolver): arequiresorpartialRequireswhose VESID is not contained in the repository is resolved to anIValidationExecutorSetsupplied by the caller, e.g. a rule set built in Java.
The repository has precedence.
The executors of the set are used as they are; custom error levels of the requirement are applied to clones of its Schematron executors.
LoadedVES.isFromExecutorSet ()tells whether a VES was resolved this way.
See issue #41 - Behaviour change: the
stopOnErrorattribute ofrequiresandpartialRequires(defaulttrue) is now applied.
If a layer of the required VES produces an error, all subsequent layers (including the rules of the requiring VES) are added to the result as skipped.
Previously the attribute was read but ignored.
UsestopOnError="false"to keep the previous behaviour
Full Changelog: phive-parent-pom-12.3.2...phive-parent-pom-12.4.0