working on #347
This commit is contained in:
@@ -377,9 +377,10 @@ public class XMLValidator extends Validator {
|
||||
validateSchematron(xml, "/xslt/XR_21/XRechnung-CII-validation.xslt", 27, errorImpact);
|
||||
} else if (xml.contains(":xrechnung_2.2")) { // This is the default check which is also run on en16931 files to generate notices.
|
||||
validateSchematron(xml, "/xslt/XR_22/XRechnung-CII-validation.xslt", 27, errorImpact);
|
||||
} else { // This is the default check which is also run on en16931 files to generate notices.
|
||||
// As of the next version this should probably if (xml.contains(":xrechnung_2.3"))
|
||||
} else if (xml.contains(":xrechnung_2.3")) { // This is the default check which is also run on en16931 files to generate notices.
|
||||
validateSchematron(xml, "/xslt/XR_23/XRechnung-CII-validation.xslt", 27, errorImpact);
|
||||
} else { // This is the default check which is also run on en16931 files to generate notices.
|
||||
validateSchematron(xml, "/xslt/XR_30/XRechnung-CII-validation.xslt", 27, errorImpact);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user