Skip to content

Commit

Permalink
upgraded en16931 cen schematron to 1.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jstaerk committed Oct 5, 2024
1 parent 6dcf7f5 commit 24ae42e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 15,542 deletions.
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- 494
- 391
- 491
- 501
- upgraded en16931 cen schematron to 1.3.12

2.14.0
=======
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public void validate() throws IrrecoverableValidationError {
// UBL
LOGGER.debug("UBL");
validateSchema(zfXML.getBytes(StandardCharsets.UTF_8), "UBL_21/maindoc/UBL-Invoice-2.1.xsd", 18, EPart.fx);
xsltFilename = "/xslt/UBL_21/EN16931-UBL-validation.xslt";
xsltFilename = "/xslt/en16931schematron/EN16931-UBL-validation.xslt";

mainSchematronSectionErrorTypeCode=24;

Expand Down Expand Up @@ -364,7 +364,7 @@ public void validate() throws IrrecoverableValidationError {
if (context.getGeneration().equals("2")
&& (isBasic || isEN16931 || isXRechnung)) {
//additionally validate against CEN
validateSchematron(zfXML, "/xslt/cii16931schematron/EN16931-CII-validation.xslt", 24, ESeverity.error);
validateSchematron(zfXML, "/xslt/en16931schematron/EN16931-CII-validation.xslt", 24, ESeverity.error);
if (!disableNotices || XrechnungSeverity != ESeverity.notice) {
validateXR(zfXML, XrechnungSeverity);
}
Expand Down
Loading

0 comments on commit 24ae42e

Please sign in to comment.