Now also running EN16931 validation on Basic, which apparently is also a CIUS
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Import of ZF1 invoices (thanks to Stefan Schmaltz https://github.com/ZUGFeRD/mustangproject/pull/292)
|
- Import of ZF1 invoices (thanks to Stefan Schmaltz https://github.com/ZUGFeRD/mustangproject/pull/292)
|
||||||
- works again in Java 1.8 (#286)
|
- works again in Java 1.8 (#286)
|
||||||
- updated Jackson https://github.com/ZUGFeRD/mustangproject/pull/293
|
- updated Jackson https://github.com/ZUGFeRD/mustangproject/pull/293
|
||||||
|
- now also running EN16931 checks on Basic, which apparently is also a CIUS
|
||||||
|
|
||||||
2.5.6
|
2.5.6
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ public class XMLValidator extends Validator {
|
|||||||
if (context.getFormat().equals("CII")) {
|
if (context.getFormat().equals("CII")) {
|
||||||
|
|
||||||
if (context.getGeneration().equals("2")
|
if (context.getGeneration().equals("2")
|
||||||
&& (isEN16931 || isXRechnung)) {
|
&& (isBasic || isEN16931 || isXRechnung)) {
|
||||||
//additionally validate against CEN
|
//additionally validate against CEN
|
||||||
validateSchematron(zfXML, "/xslt/cii16931schematron/EN16931-CII-validation.xslt", 24, ESeverity.error);
|
validateSchematron(zfXML, "/xslt/cii16931schematron/EN16931-CII-validation.xslt", 24, ESeverity.error);
|
||||||
if (!disableNotices || XrechnungSeverity != ESeverity.notice) {
|
if (!disableNotices || XrechnungSeverity != ESeverity.notice) {
|
||||||
|
|||||||
Reference in New Issue
Block a user