Skip to content

Repository files navigation

VEFA-VALIDATOR Master Build Maven Central

VEFA Validator 3.x - Upcoming

If you want validation support for any specific types of documents or have issues related to specific types of documents, please make raise a ticket (feature/bug) request at: https://github.com/OxalisCommunity/vefa-validator/issues

Features

  • Very easy to use.
  • Supports rendering documents.
  • Very low footprint in your code.
  • Pooling of resources.
  • Supports different lifecycles of validation artifacts.
  • Configurable to fit multiple sizes.

Getting started

Artifacts are published to maven repository

1. Start validating

// Create a new validator using validation artifacts from DFØ.
Validator validator = ValidatorBuilder.newValidator().build();

// Validate business document.
Validation validation = validator.validate(Paths.get("/path/to/document.xml"));

// Print result of validation.
System.out.println(validation.getReport().getFlag());

Create the validator once and reuse it – it is expensive to initialize.


This repository is a mirror of project maintained by anskaffelser


About

Generic validator as a Java library originally created for use within eProcurement.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages