Coder Social home page Coder Social logo

validation's Introduction

CEN/TC 434 - EN-16931 - Validation artefacts

Official Schematron validation artefacts for CEN/TC 434. This repository does not contain validation rules for any CIUS.

Latest release

For each syntax a separate folder exists where all related artefacts are to be published.

Validation

The action of performing validation of business documents is not directly supported by the artefacts in this repository. Standalone validation of EN-16931 rules can be performed on the following pages (in arbitrary order - please contact the operators directly):

If you also provide an open service that can validate EN-16931 artefacts and you want to be listed here send us an email to philip[at]helger.com

A simple demo implementation maintained by the project team can be found at https://github.com/CenPC434/java-tools/ - we do not recommend this for production usage.

News and noteworthy

Development

For the Java projects contained in this repository, please consider the following prerequisites

  • Java JDK 1.8.x latest (was tested only with a JDK and not with a JRE)
  • For building on the commandline use Apache Maven 3.x (latest)

Create XSLTs from Schematrons

Invoke mvn -f pom-xslt.xml process-resources after changes - it will regenerate the XSLTs from the source SCHs. Don't forget to update the license headers afterwards (see below).

Create preprocessed Schematrons

After creating XSLTs, the preprocess Schematrons should be created. Preprocessing resolves all includes, abstract rules etc. Invoke mvn -f pom-preprocess.xml generate-resources to create all preprocessed Schematron files.

Check if the examples files match the rules from the XSLTs

Invoke mvn -f pom-validate.xml validate after re-creating the XSLTs (see above).

Update the license headers

The template for the license header resides in the file templates/license-template.txt. To add the license header to all relevant files invoke mvn -f pom-license.xml license:format

validation's People

Contributors

oriol avatar phax avatar andreaspvd avatar vda-datenaustausch avatar zpatkai avatar svanteschubert avatar yildiraykabak avatar siwmeckelborg avatar tayfunmermer avatar klakegg avatar rkottmann avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.