Repository navigation
v12.3.0
·
53 commits
to master
since this release
- Added new interface
IValidationExecutorSetAliasas the common base of all VES aliases, offeringgetSourceVES ().
ValidationExecutorSetAliasimplements it.
Breaking: code checking for aliases withinstanceof ValidationExecutorSetAliasmust switch toinstanceof IValidationExecutorSetAlias, as otherwise read-only aliases are not recognised. - Added new class
ValidationExecutorSetAliasReadOnlythat can alias anyIValidationExecutorSet, without requiring the source VES to be mutable - Added new generic class
ValidationExecutorPartialthat applies any other XML validation executor (XML Schema, Schematron, ...) on the parts of a document selected by an XPath expression (e.g. the business document inside an SBDH envelope), with an optional prerequisite XPath expression - Added new method
VesXmlBuilder.addPartialVESto apply all executors of an existing VES on the selected parts of a document - Added new nested builder class
XSDPartialContext.XSDPartialContextBuilderand the new factory methodsXSDPartialContext.builder ()andXSDPartialContext.builder (XSDPartialContext) - Extended
ves-1.0.xsd(v1.0.0-RC7) to apply validation artefacts on parts of a document only (e.g. the business document inside an SBDH envelope), using the new typeVesXmlPartialType(xpath,minNodeCount,maxNodeCount):- The
schematronelement has the new optionalpartialelement - The
veselement has the new optionalpartialRequireselements (0..n), that apply a complete other VES on the selected parts. They are executed afterrequiresand before the VES' own artefacts. - The VES engine maps both onto
ValidationExecutorPartial. Apreconditionof the same element is evaluated on the complete document.
- The
- The VES engine now applies the
preconditionofschematronelements. Previously it was silently ignored. - Added new submodule
phive-bom- a Maven Bill of Materials (BOM) for all phive artefacts. Use it instead of importingphive-parent-pom.
Full Changelog: phive-parent-pom-12.2.0...phive-parent-pom-12.3.0