PHIVE - Integrative Validation Engine

If this project saved you some time or made your day a little easier, a star would mean a lot — it helps others find it too.
A generic business document validation engine originally developed for Peppol but now also supporting many other document types.
“phive” is an abbreviation of “Philip Helger Integrative Validation Engine” and is pronounced exactly like the digit 5: [ˈfaɪv].
This project only contains the validation engine - all the preconfigured rules are available in a separate repository at https://github.com/phax/phive-rules
This project is part of my Peppol solution stack. See https://github.com/phax/peppol for other components and libraries in that area.
This project is licensed under the Apache 2 license.
A live version of this engine can be found on Peppol Practical and at ecosio.
This project has the following sub-modules:
phive-bom (since v12.3.0) - a Maven Bill of Materials (BOM) that manages the versions of all phive artefacts
phive-api - a generic API that is independent of the effective validation logic. It contains the interfaces for validation sources, validation artefacts, validation execution and validation results.
phive-ves-model - contains the XML representation of a VES, a Validation Execution Set.
phive-ves-repo (since v12.0.0) - contains phive specific extensions for repository management with ph-diver
phive-xml-source (since v12.2.0) - contains the data structures that represent an XML document to be validated (IValidationSourceXML and friends). Split out of phive-xml so that a consumer who only needs to create or restore an XML validation source needs neither Saxon nor any Schematron engine.
phive-xml (previously phive-engine) - contains the support for validating XML source documents via XML Schema and Schematron
phive-ves-engine - the validation engine that takes the data structures from phive-ves-model, loads external resources via ph-diver and validates business documents via phive-xml.
phive-result (previously phive-json) - library to support converting validation results to different output formats (e.g. JSON)
phive-result-html (since v12.0.0) - library to create standalone HTML validation result reports with translatable labels, custom CSS support, source data display, and an optional built-in stylesheet
phive-result-pdf (since v12.4.0) - library to create PDF validation result reports with the same layout and labels as the HTML reports, using ph-pdf-layout. Supports PDF/A (2b, 2u, 3b, 3u, 3a) and PDF/UA
Note: this library does NOT include an EDIFACT validation. It’s a placeholder for local implementations.
Usage guide
Basically this library wraps different XML Schemas and Schematrons in a certain order and under certain constraints and offers the possibility to validate XML documents based on the rules.
The underlying model is the so called “Validation Pyramid”:

Each layer of the Validation Pyramid reflects a single set of rules.
Each rule set is identified by a VESID, and the resulting pyramid is also identified by a single ID.
Validation executor set identification
Every set of validation artefacts is uniquely identified with a VESID which is a DVR Coordinate.
E.g. the “Peppol BIS Billing UBL Invoice release May 2023” is identified with the group ID eu.peppol.bis3, the artefact ID is invoice and the version number is 2023.5 (representing “May 2023”) (without a classifier).
Another example is “SimplerInvoicing 1.2 invoice” which has the group ID org.simplerinvoicing, the artifact ID invoice and the version number 1.2 (also without a classifier).
Additional Pseudo Versions
Additional to the pseudo versions defined by ph-diver this library adds the following additional pseudo versions:
latest-active - always refer to the latest version of an artefact which is currently valid. This includes snapshot and non-snapshot versions.
latest-release-active - always refer to the latest version of an artefact which is currently valid. This includes only non-snapshot versions.
Note: These pseudo versions are defined in class PhivePseudoVersionRegistrarSPIImpl.
How to validate documents with programmatic rules
At least the phive-xml project and one library with rule sets (like e.g. phive-rules-peppol from https://github.com/phax/phive-rules)
is needed in your application. See the section on usage in a Maven project below.
All available VES must be registered in an instance of class ValidationExecutorSetRegistry (which can simply be created via new).
Depending on the used domain specific libraries, initialization calls for registration into the registry must be performed.
Example for registering (only) Peppol validation artefacts:
final ValidationExecutorSetRegistry <IValidationSourceXML> aVESRegistry = new ValidationExecutorSetRegistry<> ();
PeppolValidation.initStandard (aVESRegistry);
The instance of class ValidationExecutorSetRegistry can be kept as a (static) singleton - it is thread-safe.
Therefore the registration process needs to be performed only once.
Validating a business document requires a few more steps.
- Access to the registry is needed.
- A specific
VESID instance (e.g. PeppolValidation2024_05.VID_OPENPEPPOL_INVOICE_UBL_V3 - from phive-rules) - there are constants available for all VES identifiers defined in this project.
- The
ValidationExecutionManager is an in-between class that can be used to customize the execution. But it is created very quickly, so there is no harm on creating it on the fly every time.
- An instance of class
ValidationSourceXML to identify the document to be validated. Class ValidationSourceXML has factory methods for the default cases (having an org.w3c.dom.Node or having an com.helger.commons.io.resource.IReadableResource).
- The validation results are stored in an instance of class
ValidationResultList. This class is a list of ValidationResult instances - each ValidationResult represents the result of a single level of validation.
- Your application logic then needs to define what to do with the results.
A basic example can be found in the tests at https://github.com/phax/phive/blob/master/phive-xml/src/test/java/com/helger/phive/xml/ValidationExecutionManagerFuncTest.java
How to validate documents with declarative rules
TODO The description of this section needs to be written. Please have patience until everything is ready and setup.
A VES (ves-1.0.xsd, since v1.0.0-RC3) may contain any number of metadata elements with custom key-value pairs.
They are not used for the validation itself but are available to the application via LoadedVES.getHeader ().getAllMetadata () (since v12.5.0), in the order of the VES.
<ves xmlns="urn:com:helger:phive:ves:v1.0">
<groupId>com.example</groupId>
<artifactId>invoice</artifactId>
<version>1.0</version>
<name>Example invoice rules</name>
<metadata key="owner">Example team</metadata>
<metadata key="source-url">https://example.org/rules</metadata>
...
</ves>
The keys and values follow the same rules as the custom properties of phoss SMP:
|
Rules |
Key (attribute key) |
1 to 256 characters; only the characters a-z, A-Z, 0-9, ., - and _; case sensitive and not trimmed; unique within a VES |
| Value (element text) |
Trimmed first; may be empty; at most 256 characters; must not contain line breaks (CR, LF) or the null character |
- An invalid key, a duplicate key or an invalid value is a loading error - the VES is not loaded.
- Keys starting with
ves- (VESLoader.METADATA_KEY_RESERVED_PREFIX) are reserved for phive. They are loaded like all other keys - their treatment is up to the application.
- The checks are available as
VESLoader.isValidMetadataKey (String) and VESLoader.isValidMetadataValue (String).
- The metadata of a required VES (
requires, partialRequires) is not merged - each LoadedVES contains only its own metadata.
Validation result data structure
The outcome of running a ValidationExecutionManager is a ValidationResultList - a top level container that holds the per-layer results plus some metadata about the run as a whole.
The phive-result module additionally provides serializers to convert this data structure to and from JSON or XML.
Java data structures
ValidationResultList (phive-api, package com.helger.phive.api.result)
Represents the complete outcome of a single validation run. It is a list of ValidationResult instances - one per executed validation layer - together with run-level metadata.
| Member |
Type |
Description |
| results |
List <ValidationResult> |
The per-layer results, in execution order. Iterable directly via the ValidationResultList itself. |
| validationSource |
IValidationSource (nullable) |
The source document that was validated. Optional - since v10.1.0. |
| validationDateTime |
OffsetDateTime |
When validation started. Defaults to “now” if not provided. Since v12.0.0. |
| validationDuration |
Duration (nullable) |
Wall clock time spent in the overall validation. Since v12.0.0. |
| overallValidity |
EExtendedValidity |
Aggregated validity of the whole run. Starts as VALID and flips to INVALID as soon as any added ValidationResult is INVALID. Since v12.0.0. |
Convenience methods:
containsNoFailure () / containsAtLeastOneFailure () - any error level above SUCCESS counts as failure
containsNoError () / containsAtLeastOneError () - error levels ERROR and above count as error
getAllFailures () / getAllErrors () - flattened ErrorList losing the per-layer association
getAllCount (Predicate <? super IError>) - count items matching a predicate
forEachFlattened (Consumer) and forEachFlattened (Predicate, Consumer) - iterate across all errors
Note: the class is mutable (results are added via add (ValidationResult) or addAt (int, ValidationResult)) and not thread-safe.
Since v12.0.0 it no longer extends CommonsArrayList; the result list is an internal field.
ValidationResult (phive-api, package com.helger.phive.api.result)
Captures the outcome of a single validation layer. Immutable.
| Member |
Type |
Description |
| validationArtefact |
IValidationArtefact |
Which artefact was applied (validation type + rule resource). |
| errorList |
IErrorList |
All IError items produced by this layer. May be empty. |
| validity |
EExtendedValidity |
The validity for this layer as decided by an IValidityDeterminator. Since v12.0.0 stored on the result itself. |
| durationMS |
long (>= 0) |
Time it took to execute this layer. Since v10.1.0. |
Skipped layers are represented via the static factory ValidationResult.createSkippedResult (IValidationArtefact) which produces a result with validity = SKIPPED, an empty error list and durationMS = 0.
IValidationArtefact (phive-api, package com.helger.phive.api.artefact)
| Method |
Type |
Description |
getValidationType () |
IValidationType |
The kind of validation - one of EValidationType values such as xml, xsd, partial-xsd, schematron-pure, the various Schematron-XSLT flavours, etc. |
getRuleResource () |
IReadableResource |
The rules resource (XSD file, Schematron file, …). |
getRuleResourcePath () |
String |
Path of the rule resource. Defaults to getRuleResource ().getPath (). |
EExtendedValidity (phive-api, package com.helger.phive.api.validity)
The validity of a layer or the overall run.
| Constant |
ID |
Meaning |
SKIPPED |
skipped |
Layer was not executed (e.g. previous layer aborted further execution). |
VALID |
valid |
Document complies with the rules of this layer. |
INVALID |
invalid |
Document does not comply with the rules of this layer. |
UNCLEAR |
unclear |
Cannot be decided - needs further evaluation. |
ValidationSummary (phive-api, package com.helger.phive.api.result, since v12.0.0)
Helper for derived counters across an entire ValidationResultList. Created via ValidationSummary.create (ValidationResultList).
| Member |
Type |
Description |
| warningCount |
int |
Number of items considered a warning according to PhiveSeverityHelper. |
| errorCount |
int |
Number of items considered an error according to PhiveSeverityHelper. |
| validationInterrupted |
boolean |
true if any layer was SKIPPED. |
| mostSevereErrorLevel |
IErrorLevel |
The highest error level seen across all layers. |
JSON binding (phive-result)
The class com.helger.phive.result.json.PhiveJsonHelper writes a ValidationResultList to a IJsonObject and reads it back.
For full customization use JsonValidationResultListHelper (return value of new JsonValidationResultListHelper ()), which is what applyValidationResultList uses internally.
All field names are constants in com.helger.phive.result.json.CPhiveJson.
Top level
{
"validationDateTime": "2026-04-10T14:15:23.456+02:00",
"validationSource": { ... },
"ves": { ... },
"success": true,
"interrupted": false,
"mostSevereErrorLevel": "SUCCESS",
"results": [ ... ],
"durationMS": 123
}
| Field |
Type |
Notes |
validationDateTime |
string (XSD date-time) |
Since v12.0.0. From ValidationResultList.getValidationDateTime (). |
validationSource |
object |
Optional. Only written if a source is present and the helper was configured to emit it. Since v10.1.0. |
ves |
object |
Optional. Only written if a IValidationExecutorSet was passed in. |
success |
boolean |
true if overallValidity is VALID. Note: the per-result entries use a tri-state string in the same field name. |
interrupted |
boolean |
true if any layer was skipped (mirrors ValidationSummary.isValidationInterrupted ()). |
mostSevereErrorLevel |
string |
One of "SUCCESS", "WARN", "ERROR" - see PhiveResultHelper#getErrorLevelValue. |
results |
array |
One entry per ValidationResult. See below. |
durationMS |
number |
Overall duration; only written when validationDuration is set. |
validationSource
{
"sourceTypeID": "xml",
"systemID": "uri-or-name-of-the-input",
"partialSource": false,
"payloadBase64": "..."
}
payloadBase64 is only emitted when the helper is configured with sourceToJsonDefault (true) (the default). Pass false to omit the binary payload.
ves
{
"vesid": "eu.peppol.bis3:invoice:2023.5",
"name": "Peppol BIS Billing UBL Invoice release May 2023",
"deprecated": false,
"status": {
"lastModification": "2026-01-15T08:00:00Z",
"type": "valid",
"validFrom": "2023-05-15",
"validTo": "2026-12-31",
"deprecationReason": "...",
"replacementVesid": "..."
}
}
results[]
One object per validation layer:
{
"success": "TRUE",
"validity": "valid",
"artifactType": "xsd",
"artifactPathType": "classpath",
"artifactPath": "schemas/maindoc/UBL-Invoice-2.1.xsd",
"items": [ ... ],
"durationMS": 42
}
| Field |
Type |
Notes |
success |
string |
Tri-state: "TRUE", "FALSE", "UNDEFINED". Kept for backwards compatibility - prefer validity. |
validity |
string |
One of the EExtendedValidity IDs (valid, invalid, skipped, unclear). Since v12.0.0. |
artifactType |
string |
The IValidationType ID, e.g. xml, xsd, partial-xsd, schematron-pure, schematron-xslt2, … For the synthetic global error result it is input-parameter. |
artifactPathType |
string |
Optional. Resource kind: classpath, file, url, in-memory, wrapped, unknown, or none for global errors. |
artifactPath |
string |
Path of the rule resource. |
items |
array |
Errors produced by this layer. Empty for skipped layers. |
durationMS |
number |
Per-layer execution time. |
items[] (single error)
{
"errorDateTime": "2026-04-10T14:15:23.500",
"errorLevel": "ERROR",
"errorID": "BR-CO-15",
"errorFieldName": "cbc:DocumentCurrencyCode",
"errorLocationObj": {
"resource": "Invoice.xml",
"line": 42,
"col": 17
},
"test": "cbc:DocumentCurrencyCode = 'EUR'",
"errorText": "Document currency must be EUR",
"exception": {
"class": "java.lang.RuntimeException",
"message": "...",
"stackTrace": "..."
}
}
| Field |
Type |
Notes |
errorDateTime |
string (XSD date-time) |
Optional. |
errorLevel |
string |
One of "SUCCESS", "WARN", "ERROR". |
errorID |
string |
Optional. Schematron rule ID, XSD error code, etc. |
errorFieldName |
string |
Optional. Affected field/element. |
errorLocationObj |
object |
Optional. Structured location with resource, line, col. |
errorLocation |
string |
Legacy form (still read for backwards compatibility - new payloads use errorLocationObj). |
test |
string |
Optional. The Schematron test= expression that failed - presence of this field promotes the deserialized error to an SVRLResourceError. |
errorText |
string |
The localized human-readable message. |
exception |
object |
Optional. See below. |
exception
{
"class": "java.lang.IllegalStateException",
"message": "...",
"stackTrace": "..."
}
When read back, exceptions are restored as PhiveRestoredException - the original class is not re-instantiated.
Global errors
PhiveJsonHelper.applyGlobalError (response, errorMsg, durationMS) is used when validation could not even start (e.g. unparseable input). It produces a single result entry with artifactType = "input-parameter", artifactPath = "none" and a single error item, plus success = false and mostSevereErrorLevel = "ERROR".
Round-tripping
PhiveJsonHelper.getAsValidationResultList (IJsonObject) reverses the serialization. Caveats:
- The
ves object is not part of ValidationResultList; use getAsVES (registry, json) to look it up against a registry.
- Validation source bytes are restored only for the source types
IValidationSourceXML.VALIDATION_SOURCE_TYPE and IValidationSourceBinary.VALIDATION_SOURCE_TYPE. For other source types, supply a custom IValidationSourceRestorer.
- Custom
IValidationType IDs need a custom resolver - the default uses EValidationType::getFromIDOrNull.
- If
validity is missing (older payloads) it is inferred from success - TRUE -> VALID, FALSE -> INVALID, UNDEFINED -> SKIPPED.
XML binding (phive-result)
The class com.helger.phive.result.xml.PhiveXMLHelper (since v10.0.3) provides the same conversion onto IMicroElement, with XMLValidationResultListHelper as the customizable counterpart. Element names are constants in com.helger.phive.result.xml.CPhiveXML and mirror the JSON field names. The structural difference is that results[] becomes one <result> element per layer and items[] becomes one <item> element per error - everything else maps 1:1.
Maven usage
Add the following to your pom.xml to use this artifact, replacing x.y.z with the latest version:
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-xml</artifactId>
<version>x.y.z</version>
</dependency>
If you only need to create or restore an XML validation source, but never run an XSD or Schematron validation yourself, this smaller artefact is sufficient. It is a dependency of phive-xml, so don’t add both.
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-xml-source</artifactId>
<version>x.y.z</version>
</dependency>
If you are interested in the validation result transformation you need to also include this artefact.
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-result</artifactId>
<version>x.y.z</version>
</dependency>
If you want to create standalone HTML validation reports you need to also include this artefact.
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-result-html</artifactId>
<version>x.y.z</version>
</dependency>
If you want to create PDF validation reports you need to also include this artefact.
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-result-pdf</artifactId>
<version>x.y.z</version>
</dependency>
Alternate usage as a Maven BOM (since v12.3.0) - add it to the <dependencyManagement> section and omit the versions of the phive artefacts in your <dependencies>:
<dependency>
<groupId>com.helger.phive</groupId>
<artifactId>phive-bom</artifactId>
<version>x.y.z</version>
<type>pom</type>
<scope>import</scope>
</dependency>
phive-bom only manages the versions of the phive artefacts.
Before v12.3.0, phive-parent-pom had to be imported instead, which also manages the versions of many third-party dependencies.
Potential issues
Please ensure that your stack size is at least 1MB (for Saxon).
Using the Oracle runtime, this can be achieved by passing -Xss1m on the command line.
This only seems to be a problem when running 32bit Java.
With 64bit Java, the default stack size of the Oracle JVM is already 1MB.
News and noteworthy
v13.0.0 - work in progress
- Requires Java 21 as the minimum version (was Java 17)
- Updated to ph-schematron 11.1.0, which separates the Schematron engine from the XSLT processor that runs it (Saxon or phoxtrot).
See the ph-schematron migrations for details.
phive-xml additionally depends on ph-schematron-pure-xslt and ph-schematron-phoxtrot
ValidationExecutorSchematron and ValidationExecutorSchematronBuilder can select the XSLT processor (setXsltProcessor/xsltProcessor, check with isXsltProcessorSupported).
If none is set, Saxon is used (ValidationExecutorSchematron.DEFAULT_XSLT_PROCESSOR_ID).
As Saxon and phoxtrot are both on the class path, the XSLT processor is always passed explicitly to ph-schematron.
ValidationExecutorSchematron now supports the validation types SCHEMATRON_SCHXSLT1_XSLT1, SCHEMATRON_PURE_XSLT1, SCHEMATRON_PURE_XSLT2 and SCHEMATRON_PURE_XSLT3.
New builder methods ValidationExecutorSchematronBuilder.schXslt1Xslt1 and pureXslt3.
The pure XSLT types support a phase but no XSLT parameters.
EValidationType.SCHEMATRON_SCHXSLT1_XSLT1 now refers to ESchematronEngine.SCHXSLT1_XSLT1 (was SCHXSLT1)
- The VES engine now supports the Schematron engines
pure-xslt (creates XSLT 3.0) and schxslt-xslt1 (query binding xslt only) and the XSLT processor phoxtrot.
Any XSLT processor on the class path can be used; the error message for an unknown XSLT processor lists the available ones.
Changed ves-1.0.xsd (v1.0.0-RC9, only documentation changes).
IValidationExecutorSetMutable.setValidationExecutorDoCache now returns the object itself for chaining (was void)
- The code now uses Java 21 language features (e.g.
switch with type patterns and with qualified enum constants)
- Removed all elements that were deprecated for removal:
EValidationType.SCHEMATRON_SCH, SCHEMATRON_SCHXSLT, SCHEMATRON_XSLT, SCHEMATRON_SCHXSLT2 and SCHEMATRON_PURE - use SCHEMATRON_SCH_ISO_XSLT2, SCHEMATRON_SCHXSLT1_XSLT2, SCHEMATRON_XSLT2, SCHEMATRON_SCHXSLT2_XSLT3 and SCHEMATRON_PURE_XPATH2 instead
ValidationResult (IValidationArtefact, IErrorList, EExtendedValidity, long) and AbstractValidationExecutor.createValidationResult (IErrorList, EExtendedValidity, long) - use the versions with a Duration instead
ValidationResult.isSkipped () - use getValidity ().isSkipped () instead
IValidationExecutorSetStatus.hasDisplayName () and getDisplayName (), CPhiveJson.JSON_STATUS_DISPLAY_NAME and CPhiveXML.XML_STATUS_DISPLAY_NAME
PhiveResultHelper.isConsideredError and isConsideredWarning - use PhiveSeverityHelper instead
EPhiveHtmlLabel, PhiveHtmlHelper.labels (Map) and PhiveHtmlHelper.label (EPhiveHtmlLabel, String) - use EPhiveResultLabel with PhiveHtmlHelper.allLabels (Map) and label (EPhiveResultLabel, String) instead
CustomErrorDetails (IErrorLevel, String, String) - use the constructor with the description instead
- The static factory methods
ValidationExecutorSchematron.createPure, createSCH, createSchXslt, createSchXslt1, createSchXslt2, createXSLT and createOIOUBL and ValidationExecutorSchematronBuilder.pure - use the static methods of ValidationExecutorSchematronBuilder instead
- All methods and constructors taking or returning an
XPathExpression in XSDPartialContext, XSDPartialContextBuilder, ValidationExecutorPartial, VesXmlBuilder and LoadedVES.PartialRequiredVES - use the versions with an XPath String and a NamespaceContext instead.
XSDPartialContext.getXPath () now never returns null.
v12.5.0 - 2026-12-01
- Extended
ves-1.0.xsd (v1.0.0-RC8) with the optional namespaces element in xsd, used by the XPath expression of the precondition
- The VES engine now applies the
precondition of xsd elements (resource types xsd and zip); previously it was ignored with a warning.
If the precondition is not fulfilled, the XML Schema validation is skipped.
ValidationExecutorXSD and ValidationExecutorXSDBuilder support an optional prerequisite XPath expression with a namespace context.
It is evaluated on the document that is validated (for partial sources the part only).
CustomErrorDetails has a new optional description (the reason for the customisation), filled from customError/description of a VES
LoadedVES.Header now contains the license elements of a VES (getAllLicenses, new record LoadedVES.License)
- The VES engine now reports an error instead of throwing an
IllegalStateException if a Schematron engine is known to ph-schematron but not supported (pure-xslt, xslt)
- The VES engine now applies the
catalog of xsd elements with the resource type xsd; previously it was ignored with a warning
- A
catalog entry of an xsd element must reference a resource of type xsd, otherwise loading the VES fails
- The
id of a system catalog entry and the referenced system ID are normalised before comparison (e.g. ./common.xsd matches common.xsd)
- The VES engine now applies the
input/option elements of a schematron element; previously they were ignored.
The option phase selects the Schematron phase (not for the resource type xslt), all other options are passed as XSLT parameters (not for the engine pure-xpath).
The option langCode, duplicate option names and unsupported options give a loading error.
ValidationExecutorSchematron and its builder have the new methods setPhase/phase and addParameter/parameter to set the Schematron phase and custom XSLT parameters
- Updated to ph-schematron 10.3.6, which caches Schematrons with XSLT parameters and applies the phase for the engine
schxslt2
- Removed the misleading warning about missing catalog support for public IDs; XML Schema imports and includes never provide one, and the
public catalog entries match namespace URIs
LoadedVES.Header now contains the metadata elements of a VES (getAllMetadata); previously they were ignored.
Keys and values must follow the rules of SMP custom properties (VESLoader.isValidMetadataKey/isValidMetadataValue); invalid or duplicate keys give a loading error.
Keys starting with the reserved prefix ves- are loaded as well; their treatment is up to the application.
VESStatus1Helper.convert no longer drops the classifier of the replacement element of a VES status
- Added
VESStatus1Helper.convert (VesStatusType, ErrorList): an invalid replacement of a VES status (invalid version, but also invalid group ID, artifact ID or classifier, which previously threw an exception) is reported as an error.
The VES engine treats it as a loading error.
convert (VesStatusType) logs it and ignores the replacement
- Changed
ves-1.0.xsd (v1.0.0-RC8): the namespaces element was removed from requires, as it was never used there.
It is only part of partialRequires now (unchanged element order).
A VES with requires/namespaces is no longer valid
- The VES engine no longer loads external DTDs referenced via a
DOCTYPE in XML Schemas by default; an empty DTD is used instead.
This can be changed via DefaultVESLoaderXSD.setLoadExternalDtds (true).
Remote DTDs were already blocked by ph-xml
- Changed
ves-1.0.xsd (v1.0.0-RC8): added the optional xsltProcessor element to schematron, to select the XSLT processor in preparation of ph-schematron 11.
If absent, saxon is used.
Currently only saxon is supported - phoxtrot (ph-schematron 11) and unknown values give a loading error, as does any value for the engine pure-xpath
- The VES engine no longer accepts aliases of the Schematron engine IDs (like
iso, sch or pure) - only pure-xpath, iso-schematron, schxslt and schxslt2 are supported.
An alias is a loading error that names the ID to use
- The VES engine now reads XML Schemas of resource type
xsd already when loading the VES (also without catalog entries), and reports XML Schemas that cannot be read as loading errors instead of throwing an exception
ValidationExecutorPartial and ValidationExecutorXSDPartial can now be used from multiple threads at the same time.
According to its specification an XPathExpression is not thread-safe, so XSDPartialContext and the prerequisite of ValidationExecutorPartial now store the XPath as a String together with a namespace context and compile a new XPathExpression for every evaluation (like the prerequisites of ValidationExecutorXSD and ValidationExecutorSchematron)
- New:
XSDPartialContext (String, NamespaceContext, Integer, Integer), XSDPartialContextBuilder.xpath (String, NamespaceContext), XSDPartialContext.getXPath (), XSDPartialContext.getNamespaceContext () and XSDPartialContext.evaluateNodeSet (Node)
- New:
ValidationExecutorPartial (IValidationExecutor, XSDPartialContext, String, NamespaceContext), ValidationExecutorPartial.getPrerequisiteXPathString (), ValidationExecutorPartial.getPrerequisiteNamespaceContext (), VesXmlBuilder.addPartialVES (IValidationExecutorSet, XSDPartialContext, String, NamespaceContext) and LoadedVES.PartialRequiredVES.getPrerequisiteXPathString ()
- Deprecated for removal: all methods and constructors taking or returning an
XPathExpression in these classes.
They keep working; a pre-compiled XPathExpression is evaluated synchronised on that object, and the getters compile a new XPathExpression on each call if the XPath was given as a String
- There is no test for concurrent use: the JDK implementation creates a new evaluation context per call and does not show the problem, so it cannot be reproduced
- Messages (e.g. warnings) of lazily loaded required VES are now logged instead of being discarded
v12.4.0 - 2026-11-28
- Created new submodule
phive-result-pdf for 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
EPhiveResultLabel in phive-api, used by the HTML and the PDF output.
EPhiveHtmlLabel and the PhiveHtmlHelper methods using it are deprecated; use PhiveHtmlHelper.label (EPhiveResultLabel, String) and allLabels (Map) instead
PhiveHtmlHelper no 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
SchematronZipResolver in phive-xml that 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
InMemoryZipContent in phive-xml that reads a ZIP file with limits for the unzipped size and the number of entries into memory.
DefaultVESLoaderXSD uses 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): a requires or partialRequires whose VESID is not contained in the repository is resolved to an IValidationExecutorSet supplied 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
stopOnError attribute of requires and partialRequires (default true) 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.
Use stopOnError="false" to keep the previous behaviour
v12.3.2 - 2026-11-24
- Added
IValidationExecutorSetStatus.isActivePer (OffsetDateTime) and isActivePerNow (): active means not deprecated and within the validity period.
isValidPer keeps its meaning and only checks the validity period
- The pseudo versions
latest-active and latest-release-active no longer resolve to deprecated VES, both in ValidationExecutorSetRegistry and in VESLoaderPseudoVersionResolver.
See issue #36
v12.3.1 - 2026-11-24
- Requires at least ph-commons 12.7.2
DefaultVESLoaderXSD now reads XSD ZIP files with ZipWalker from ph-commons: content that is not a ZIP archive is reported as such (previously as missing main element), a ZIP file with an entry contained more than once is refused (previously the later entry silently replaced the earlier one), and the number of entries is limited
- Added
DefaultVESLoaderXSD.getMaxZipEntryCount () and setMaxZipEntryCount (int) with the default DEFAULT_MAX_ZIP_ENTRY_COUNT (10.000)
ValidationExecutorSchematron now passes DOM sources as SaxonDOMSource, so that Saxon validates a native tree instead of the wrapped DOM.
This removes the quadratic runtime of Schematron validation for large documents.
See issue #37
v12.3.0 - 2026-11-15
- Added new interface
IValidationExecutorSetAlias as the common base of all VES aliases, offering getSourceVES ().
ValidationExecutorSetAlias implements it.
Breaking: code checking for aliases with instanceof ValidationExecutorSetAlias must switch to instanceof IValidationExecutorSetAlias, as otherwise read-only aliases are not recognised.
- Added new class
ValidationExecutorSetAliasReadOnly that can alias any IValidationExecutorSet, without requiring the source VES to be mutable
- Added new generic class
ValidationExecutorPartial that 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.addPartialVES to apply all executors of an existing VES on the selected parts of a document
- Added new nested builder class
XSDPartialContext.XSDPartialContextBuilder and the new factory methods XSDPartialContext.builder () and XSDPartialContext.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 type VesXmlPartialType (xpath, minNodeCount, maxNodeCount):
- The
schematron element has the new optional partial element
- The
ves element has the new optional partialRequires elements (0…n), that apply a complete other VES on the selected parts.
They are executed after requires and before the VES’ own artefacts.
- The VES engine maps both onto
ValidationExecutorPartial.
A precondition of the same element is evaluated on the complete document.
- The VES engine now applies the
precondition of schematron elements.
Previously it was silently ignored.
- Added new submodule
phive-bom - a Maven Bill of Materials (BOM) for all phive artefacts.
Use it instead of importing phive-parent-pom.
v12.2.0 - 2026-09-28
- Deprecated static
ValidationExecutorSchematron.create... methods in favour of ValidationExecutorSchematronBuilder
- Less JAXB errors in log file when SVRL parsing encouters unsupported elements (as e.g. in ZATCA 3.4.6 rules)
- Added new nested builder class
ValidationExecutorSetStatus.ValidationExecutorSetStatusBuilder and the new factory method ValidationExecutorSetStatus.builder ()
- Added new nested builder class
ValidationExecutorSetStatusHistoryItem.ValidationExecutorSetStatusHistoryItemBuilder and the new factory method ValidationExecutorSetStatusHistoryItem.builder ()
- Updated to ph-schematron v10.2.0, in which
ph-schematron-api is free of Saxon
- Added new submodule
phive-xml-source containing the package com.helger.phive.xml.source.
It depends on phive-api and ph-xml only, and needs neither Saxon nor any Schematron engine.
phive-xml depends on it, so all existing phive-xml consumers continue to work unchanged.
phive-result now declares its direct ph-xml dependency explicitly instead of relying on a transitive one
v12.1.0 - 2026-07-17
- Updated to ph-schematron v10.x
- Added the optional
stopOnError attribute to the xsd and schematron elements of the VES XML, so the “stop on error” behaviour can be customized per validation.
The DefaultVESLoaderXSD and DefaultVESLoaderSchematron apply it to the created executors.
See #26
- Added new builder classes
ValidationExecutorXSDBuilder and ValidationExecutorXSDPartialBuilder as fluent builders for ValidationExecutorXSD and ValidationExecutorXSDPartial
- Added new method
ValidationExecutorXSDPartial.getSchemaProvider
- Extended
IValidationType with a new method getSchematronEngine returning the ESchematronEngine for Schematron based validation types, or null for all others.
Requires ph-schematron v10.
See #32
- Added new method
LoadedVES.createVES
- ValidationResult now takes
Duration as parameter instead of “number of milliseconds”
v12.0.3 - 2026-04-10
- Added new class
ValidationExecutorSchematronBuilder as a fluent builder for ValidationExecutorSchematron
- Fixed SVRL generation for partial validation sources (child nodes) in XSLT-based Schematron validation.
When validating a node extracted from an envelope (e.g. SBDH unwrap) via
ValidationSourceXML.createPartial, the XSLT transformation now receives a proper Document node.
- Added ZIP bomb protection in
DefaultVESLoaderXSD with a configurable maximum unzipped size (default 50 MB) via setMaxUnzippedSize/getMaxUnzippedSize
- Renamed method
ValidationExecutorSchematron.createSchXslt to createSchXslt1 for naming consistency.
The old method is deprecated.
- Fixed potential
NullPointerException in RepoVESTopTocServiceCSV.iterateAllItems and iterateAllItemsBreakable when called before initialization
v12.0.2 - 2026-04-02
- Added new method
ValidationResultList.addAt
- Added new class
VesXmlBuilder to build ValidationExecutorSet <IValidationSourceXML> more fluently
v12.0.1 - 2026-03-12
- Improved Validation result HTML default CSS to handle long values better
- Removed the
displayName from the VES Status again, as it is already contained in the VES itself
v12.0.0 - 2026-02-22
- Updated to ph-diver 4.2.0
- The resulting JAR files are no longer provided as OSGI bundles
- Created new submodule
phive-ves-repo to contain a specific top-level table of contents for validation artefacts.
See #29
- Created new submodule
phive-result-html for generating standalone HTML validation result reports
- Removed deprecated methods marked for removal
- Extended VES Status with optional
displayName element.
See #30
- Extended
EValidationType with XSLT v1 specific enums
- Renamed some
EValidationType enums to be more precise
- Extracted class
AbstractValidationSource
- Added new class
CPhiveVersion
- Extended the
ValidationResultList to contain the validation date time as well as the validation duration
- Extracted new class
PhiveSeverityHelper
- Moved the determined “validity” into the class
ValidationResult for persistence
- Simplified the parameter list of
PhiveXMLHelper.applyValidationResultList
ValidationResultList is no longer a CommonsArrayList but has a member list instead
- Added new class
ValidationSummary
- Extracted classes
CPhiveXML and CPhiveJson with all the element/field names
- Extended the created JSON and XML outputs with new fields (validationDateTime, result-layer.validity, ves.status.displayName)
v11.1.1 - 2025-12-10
- Updated to ph-schematron 9.1.1
- Extended
ves-1.0.xsd to include the optional metadata element
- Deprecated class
ESchematronEngine in favour of the version from ph-schematron
- Added support for the Schematron Engine “SchXslt2”
v11.1.0 - 2025-11-16
- Updated to ph-commons 12.1.0
- Using JSpecify annotations
v11.0.1 - 2025-09-04
- Updated the XSLT based Schematron validation as suggested in ph-schematron#192 - thx @Lukvargen
v11.0.0 - 2025-08-25
- Requires Java 17 as the minimum version
- Updated to ph-commons 12.0.0
- Removed all code marked as deprecated for removal
v10.1.1 - 2025-03-03
- Added new classes
IGenericPseudoVersionResolver and DefaultGenericPseudoVersionResolver
- Fixed invalid return codes for
ValidationResultList.containsNo(Failure|Error) for empty lists
v10.1.0 - 2024-12-05
- Requires ph-commons 11.1.11
- Added new interface
IValidationExecutorSetMutable
- Added new class
ValidationExecutorSetAlias to be able to proxy existing VES with different coordinates
- Added new class
ValidityDeterminatorRegistry to support validity determination processes
- Added optional
IValidationSource to ValidationResultList
- Changed parameter types in
PhiveJsonHelper and PhiveXMLHelper from List <? extends ValidationResult> to ValidationResultList
- Added new class
ValidationSourceXMLReadableResource
- Extended
IValidationSource interface to make content serializable
- Added the duration in milliseconds per
ValidationResult
- Updated the default JSON and XML validation result list serialization to contain the new elements
v10.0.3 - 2024-12-01
- Added default XML serialization of validation results
- Added new
EValidationBaseType entries
v10.0.2 - 2024-09-16
- Re-release due to Maven Central issue
v10.0.1 - 2024-09-16
- Fixed the validation types in
ValidationExecutorXSDPartial.create
v10.0.0 - 2024-09-16
- Updated to ph-diver 3.0.1
- The outcome of a validation can now be
valid, invalid or unclear (new)
- Added new classes
EExtendedValidity and IValidityDeterminator
- Each
IValidationExecutorManager now has an IValidityDeterminator
- By using
IValidityDeterminator.getDefault() the previous state can be re-created
- Renamed method
IValidationArtefact.getValidationArtefactType to getValidationType
- Moved classes
(Abstract|I)ValidationExecutor to its own .executor package
- Renamed class
TestFile to PhiveTestFile
v9.2.2 - 2024-07-29
- Switched from custom error level to
CustomErrorDetails
v9.2.1 - 2024-04-25
- Updated to ph-diver 1.2.0
- Added support for the pseudo version resolution in
VESLoader.loadVESFromRepo
- The
VESLoader now requires a IRepoStorageWithToc instead of a IRepoStorageBase in the constructor
- Added support for new pseudo versions
latest-active and latest-release-active
v9.2.0 - 2024-03-29
- Updated to ph-commons 11.1.5
- Ensured Java 21 compatibility
- Extended the VES status XSD with new optional elements
- Introducing
[I]ValidationExecutorSetStatus representing the status of a single Validation Executor Set
v9.1.0 - 2024-03-09
- Updated to ph-schematron 8.0.0 using Saxon 12.x
- Updated to ph-diver 1.1.0
- Improved dynamic VES loading heavily
v9.0.0 - 2023-09-14
- Moved class
PhiveRestoredException into a separate package
- Using the class
VESID etc. from ph-diver-api instead
- Replaced the
phive-repo with ph-diver-repo instead
- Moved classes
[I]ValidationSourceBinary from phive-xml to phive-api
- Renamed class
MockFile to TestFile
v9.0.0-beta2 - 2023-09-06 (don’t use in production)
- Reworked the version handling inside class
VESID so that a strict ordering by version is possible
- Added specific support for the
SNAPSHOT version, so that 1.0.0-SNAPSHOT is lower than 1.0.0
v9.0.0-beta1 - 2023-08-30 (don’t use in production)
- Removed
VOM* in favour of VES*
- Added new submodule “phive-repo” to be able to retrieve artefacts from remote storage locations
- Added new submodule “phive-ves-model” that contains the VES data structures
- Added new submodule “phive-ves-engine” that contains the VES execution engine
- Renamed the submodule “phive-engine” to “phive-xml” to indicate, that this is the part dealing with XML validation only.
This also led to new package names.
- Renamed the submodule “phive-json” to “phive-result” to indicate, that this deals with validation results in general.
The JSON stuff got its own package in there.
- Initial version for declarative VES rules for XSD and Schematron
v8.0.1 - 2023-03-17
- Added support for resolving the pseudo version
latest in ValidationExecutorSetRegistry.
See issue #16 - thx @adammscisz
v8.0.0 - 2023-02-19
- Using Java 11 as the baseline
- Updated to ph-commons 11
- Updated to JAXB 4.0
v7.2.4 - 2022-08-17
- Updated to ph-commons 10.1.7
- Added support for the error date time serialization to JSON and back
v7.2.3 - 2022-02-24
- Increased the flexibility of the Json output providers
v7.2.2 - 2021-11-05
- Stopping further validations, if an error occurs on XSD level
v7.2.1 - 2021-06-09
- Started introduction of the new VOM - Validation Object Model - an XML based approach for validation configuration
v7.2.0 - 2021-03-22
- Updated to ph-commons 10
- Added new class
ValidationSourceBinary
v7.1.1 - 2021-01-28
- Extended the internal API to ensure validation artifacts are in cache
v7.1.0 - 2021-01-26
- Extracted the interface
IValidationType from EValidationType and using it where applicable
v7.0.1 - 2020-12-04
- Updated to ph-schematron 6.0.1
- The failed assertion ID is now part of the created errors (if present)
- Add the possibility to change the error levels of occurred Schematron errors
v7.0.0 - 2020-11-25
- The Maven group ID changed from
com.helger.bdve to com.helger.phive
- The Java package names changed from
com.helger.bdve.* to com.helger.phive.*
- The class name
BDVEJsonHelper changed to PhiveJsonHelper
- The class name
BDVERestoredException changed to PhiveRestoredException
- Updated to ph-schematron 6.0.0
- Added support for using “SchXslt” as a Schematron engine
v6.0.4 - 2020-11-11
- Added new overloads for
ValidationExecutorXSD.create
- Added
IValidationArtefact.getRuleResourcePath () to customize the file path
- Added
ValidationExecutorXSDPartial.create factory methods
- Added
XSDPartialContext.create factory methods
- Added
ValidationExecutorSchematron.create factory methods
v6.0.3 - 2020-09-17
- Updated to Jakarta JAXB 2.3.3
v6.0.2 - 2020-06-16
- Fixed a typo in the JSON property
errorLocationObj
v6.0.1 - 2020-06-16
- Extended
ValidationExecutorSetRegistry API to allow for unregistration
v6.0.0 - 2020-06-08
- Separated all the rules into a separate project - https://github.com/phax/ph-bdve-rules - this repository only contains the engine
- Extracted the JSON binding into a separate submodule “ph-bdve-json”
- Extracted the generic API project into a separate submodule “ph-bdve-api”
- Made the validation source type a generics parameter to the executor set etc.
So an executor needs to know, whether it can accept XML sources or other kind of source syntaxes.
- Extracted
IValidationSourceXML from IValidationSource
- Renamed
ValidationSource from ValidationSourceXML
v5.3.1 - 2020-05-28
- Added possibility to stop further validation on failed Schematrons as well
v5.3.0 - 2020-05-26
- Changed the Maven groupId to
com.helger.bdve
- Renamed the submodule
ph-bdve to ph-bdve-engine
- Updated to ph-commons 9.4.4
- Removed the class loader member from
IValidationArtifact
- Deprecated Peppol 3.9.0 and 3.9.1 artefacts - 3.10.0 is the right one
- Added support for EN 16931 1.3.2 format (deprecated version 1.3.1)
v5.2.11 - 2020-05-01
- Updated to ph-commons 9.4.0
- Added support for ebInterface 6.0
- Added support for OpenPeppol validation artifacts, Spring 2020 release
v5.2.10 - 2020-03-20
- The Peppol AU-NZ rules were updated to v1.0.2.
v1.0.1 is now deprecated.
v5.2.9 - 2020-03-18
- Fixed usage of wrong Peppol AU-NZ Schematrons for v1.0.1.
See issue #12
v5.2.8 - 2020-03-12
- Added support for UBL.BE 1.2 (version 2020-03)
- Deprecated OpenPeppol 3.7.0 rules (for BIS v2)
v5.2.7 - 2020-03-08
- Deprecated
eu.cen.en16931:edifact:1.0.0 as it is not maintained anymore
- Extended validation API
- Added support for EN 16931 1.3.1 format (deprecated version 1.3.0)
v5.2.6 - 2020-02-10
- Updated the UBL 2.3 identifiers from “csprd01” to “csprd02”
- Added Peppol BIS 3 billing Hotfix from 2020-02-10 (BR-S-08 for standard VAT, BR-IG-08 for Canary Islands tax, BR-IP-08 for Ceuta and Melilla tax) as Peppol rules 3.9.1
- Updated to the EHF G2 rules from 2019-12
v5.2.5 - 2020-02-06
- Added a default JSON representation for validation results - see class
BDVEJsonHelper
- Added support for UBL.BE 1.1 (version 2019-11)
- Deprecated UBL.BE 1.0, e-FFF Invoice and e-FFF Credit Note validations
- Updated to UBL 2.3 CSPRD 02 (without changing the ID :( )
v5.2.4 - 2020-01-13
- Added support for XRechnung 1.2.2 format (deprecated version 1.2.1)
v5.2.3 - 2019-12-18
- Added Singapore (SG) Peppol Billing BIS3 rules version 1.0.2
v5.2.2 - 2019-12-12
- Added SimplerInvoicing 2.0.2 and deprecated version 2.0.1
v5.2.1 - 2019-12-09
- Added SimplerInvoicing 2.0.1 and deprecated version 2.0
v5.2.0 - 2019-11-29
- The Peppol AU-NZ rules were updated.
The old version is now the official “1.0.0” whereas the new rules are “1.0.1”.
Confusing, I know :-|
- Updated to ph-schematron 5.4.0 (incompatible change)
v5.1.15 - 2019-11-15
- Added support for UBL 2.3 CSPRD01
- Updated Peppol-SG rules to the latest version
- Deprecated OpenPeppol 3.8.1 rules
v5.1.14 - 2019-11-01
- Added support for A-NZ Peppol 1.0.1 validations
- Added OpenPEPPOL 3.9.0 (Fall release 2019) artefacts
v5.1.13 - 2019-10-14
- Added support for EN 16931 1.3.0 format (deprecated version 1.2.3)
- Updated Singapore (SG) Peppol Billing BIS3 rules to version 2019-06-12
v5.1.12 - 2019-09-09
- Deprecated OpenPEPPOL 3.8.0 artefacts
- XRechnung 1.2.1 is now based on EN16931 1.2.1 release
v5.1.11 - 2019-07-21
- Added OpenPEPPOL 3.8.1 (Spring release 2019 bug fix release) artefacts
- Updated SimplerInvoicing artefacts to the latest versions.
This lead to “SI 1.1 strict” to be removed.
v5.1.10 - 2019-07-10
- Added new EHF validation artefacts (incl. Invoice and Credit Note 2.0.16)
- Deprecated
eu.peppol.bis3.ubl:invoice:1 in favour of eu.peppol.bis3:invoice:3.8.0
- Deprecated
eu.peppol.bis3.ubl:creditnote:1 in favour of eu.peppol.bis3:creditnote:3.8.0
- Added support for XRechnung 1.2.1 format (deprecated version 1.2.0)
- Added support for EN 16931 1.2.3 format (deprecated version 1.2.1)
v5.1.9 - 2019-06-10
- Fixed an error in
EHF-UBL-COMMON.sch of November 2018 release
- Fixed an error in
EHF-UBL-T19.sch of November 2018 release
- Added support for XRechnung 1.2.0 format
v5.1.8 - 2019-05-15
- Added Peppol 3.8.0 (Spring 2019 release) validation artefacts (BIS v3 only)
v5.1.7 - 2019-05-14
- Added EN 16931 validation artefacts version 1.2.1, deprecated the old 1.2.0 version
- Internally restructured EHF layout for future extension
v5.1.6 - 2019-04-26
- Added EN 16931 validation artefacts version 1.2.0, deprecated the old 1.1.0 version
v5.1.5 - 2019-04-19
- Updated OIOUBL validation rules to the latest version
- Updated SimplerInvoicing 2.0 RC1 to 2.0 final release
- Added support for Dutch Energie eFactuur 3.0.0 (based on SimplerInvoicing 2.0)
v5.1.4 - 2019-03-21
- EHF validation without “OPENPEPPOL CORE” rules
- Fixed an error in the created XSLTs for ATNAT/ATGOV T10 and T14 because of variable order as well as a spelling error
v5.1.3 - 2019-03-08
- Updated to latest EHF releases (Invoice and Credit Note 2.0.15 etc.)
- EHF validation now directly depends on the Peppol Validation artefacts
v5.1.2 - 2019-02-04
- Added SimplerInvoicing 2.0 RC1 support #3
- Added Singapore (SG) Peppol Billing BIS3 support #4
v5.1.1 - 2019-01-16
- Added UBL.BE 1.0.0 Schematrons
v5.1.0 - 2018-11-23
- Requires ph-commons 9.2.0
- Added support for OpenPEPPOL 3.7.0 (Fall 2018) rules (incl. Billing BIS3)
- Removed support for OpenPEPPOL 3.4.0 rules
v5.0.6 - 2018-11-09
- Fixed an error in the UBL.BE document types.
In reality those are e-FFF 3.0 document types.
VESID changed therefore.
v5.0.5 - 2018-11-07
- Requires at least ph-commons 9.1.8
- Added support for UBL.BE document types
- Added support for OpenPEPPOL 3.7.0.RC1 (Fall 2018) rules (incl. Billing BIS3)
v5.0.4 - 2018-08-14
- Added support for UBL 2.0 XSD validation
- Added support for UBL 2.2 XSD validation
v5.0.3 - 2018-07-11
- Updated EHF rules to 2018-02-20
v5.0.2 - 2018-06-26
- Added EN 16931 validation artefacts version 1.1.0, deprecated the old 1.0.0 version
v5.0.1 - 2018-06-15
- Fixed marking of OpenPEPPOL 3.5.0 artefacts as “deprecated”
- Added support for Peppol Billing BIS 3 document types
- Added support for EN 16931 UBL CreditNote validation
v5.0.0 - 2018-06-01
- Added Tieto TEAPPSXML support
- Added Austrian ebInterface support
- Simplified internal API backwards incompatible (removed all the bloat overhead where possible)
v4.0.5 - 2018-05-14
- Support for OpenPEPPOL rules 3.3.0 was removed - too old
- Updated to OpenPEPPOL 3.6.0 (Spring 2018) rules
v4.0.4 - 2018-02-22
- Updated to EN 16931 rules 1.0.0
- Added support for Dutch Energie eFactuur 1.0.0 (based on SimplerInvoicing 1.1)
- Added support for Dutch Energie eFactuur 1.0.1 (based on SimplerInvoicing 1.1)
v4.0.3 - 2018-02-07
- Added OIOUBL 2.0.2 support (new artefact
ph-bdve-oioubl)
- EN 16931 rules were updated
v4.0.2 - 2018-02-03
- Added support for Dutch Energie eFactuur 2.0.0 (new artefact
ph-bdve-energieefactuur) - based on SimplerInvoicing 1.2
- Updated to ph-commons 9.0.1 (Locale specific XSD error messages)
- Schematron error messages are more easily readable
- EN 16931 rules were updated
- CII validation was heavily improved
v4.0.1 - 2018-01-23
- Added support for EHF document formats (new artefact
ph-bdve-ehf) - based on https://vefa.difi.no/ehf/standard/
- Added support to validate UBL documents only (without Schematron) (new artefact
ph-bdve-ubl)
- Added support to validate CII documents only (without Schematron) (new artefact
ph-bdve-cii)
- Extended API to support better cleanup
v4.0.0 - 2018-01-15
- Updated to ph-commons 9.0.0
- Updated to the latest official EN-16931 rules
- Updated to the Peppol Autumn 2017 release (3.5.0)
v3.2.0 - 2017-07-27
- Improved ClassLoader handling, so that each validation artefact has a defined class loader.
v3.1.4 - 2017-07-12
- Fixed an error where warnings in Schematron validation lead to not evaluating the SVRL
v3.1.3 - 2017-06-07
- Re-release because v3.1.2 had issues with Maven Central deployment
v3.1.2 - 2017-06-06
- Fixed a problem with XSLT based validation when using anything different from a DOM Document as the validation source
v3.1.1 - 2017-06-01
- Re-added SimplerInvoicing 1.1 rules
- Enabled Schematron caching by default
- Improved caching API
v3.1.0 - 2017-05-15
- Added EN 16931 rules
- Update to OpenPEPPOL 3.4.0 rules
- Update to SimplerInvoicing 1.2 rules
- Updated to ph-schematron 4.3.0
v3.0.0 - 2017-01-26
- Is a complete rewrite with different structure etc.
- Binds to ph-commons 8.6.x
- Requires at least ph-schematron 4.2.1
v2.0.1 - 2016-09-12
- Binds to ph-commons 8.5.x
v2.0.0 - 2016-08-22
My personal Coding Styleguide |
It is appreciated if you star the GitHub project if you like it.
评论