Merge pull request #382 from Sarenor/implement-validation-issues-as-object-instead-of-xml-string

Added getter for validation context to get the ValidationIssues Vector for further processing in another application
This commit is contained in:
Jochen Staerk
2024-05-17 20:06:46 +02:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -516,5 +516,8 @@ public class XMLValidator extends Validator {
return failedRules;
}
public ValidationContext getValidationContext() {
return context;
}
}

View File

@@ -396,6 +396,10 @@ public class ZUGFeRDValidator {
disableNotices = true;
}
public ValidationContext getValidationContext() {
return context;
}
/**
* Read the file and calculate the SHA-1 checksum
*