Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 16, 2024
1 parent 5914393 commit eee950f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Validating a business document requires a few more steps.
IValidationSourceXML aValidationSource = ...;

// Build execution manager
final ValidationExecutionManager<IValidationSourceXML> aVEM = new ValidationExecutionManager<> (aVES);
final ValidationExecutionManager<IValidationSourceXML> aVEM = new ValidationExecutionManager<> (IValidityDeterminator.createDefault (), aVES);

// Main execution of rules on validation source
final ValidationResultList aValidationResult = aVEM.executeValidation (aValidationSource);
Expand All @@ -97,7 +97,7 @@ Since v6 the following simpler code can be used instead:
IValidationSourceXML aValidationSource = ...;

// Shortcut introduced in v6
final ValidationResultList aValidationResult = ValidationExecutionManager.executeValidation (aVES, aValidationSource);
final ValidationResultList aValidationResult = ValidationExecutionManager.executeValidation (IValidityDeterminator.createDefault (), aVES, aValidationSource);
if (aValidationResult.containsAtLeastOneError ()) {
// errors found ...
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ Please ensure that your stack size is at least 1MB (for Saxon). Using the Oracle

# News and noteworthy

* v10.0.0 - work in progress
* 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`
Expand Down

0 comments on commit eee950f

Please sign in to comment.