Skip to content

brBart/validation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

News and noteworthy

  • v1.1.0 - 2018-06-26 (UBL and CII only)

    • Note: this release does NOT contain the EDIFACT validation rules - its development is currently paused/stalled
    • New participant identifier schemes are supported
    • Rules targeting attributes were altered (issue #50)
    • Fixed typo in BR-CL-24 UBL (issue #52)
    • Some code list assertions had no id attributes (issue #53)
    • Rule CII-SR-029 was removed and the context of CII-SR-030 was adopted (issue #54)
    • Using xs:decimal instead of xs:double (issue #55)
    • The value of the VAT @schemeID attribute is VAT (instead of VA) (issue #57)
    • Error in rule BR-Z-10 UBL was fixed (issue #59)
    • Fixed error message of BR-AF-05 CII (issue #60)
    • The value 532 was not supported in BR-CL-01 (issue #63)
  • v1.0.0 - 2018-02-08 (UBL, CII and EDIFACT)

    • Initial release

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)
  • Eclipse 4.6.x latest (m2e - Maven for Eclipse - must be contained)
  • For building on the commandline use Apache Maven 3.x (latest)

Create XSLTs from Schematrons

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

Check if the examples files match the rules from the XSLTs

Invoke mvn valiate 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 the following command:

mvn license:format

About

Schematron validation artefacts for CEN/TC 434

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XSLT 99.8%
  • Other 0.2%