Skip to content
Snippets Groups Projects
Commit 8ec1a2fd authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

add refco version to the report

parent 3a04964b
No related branches found
No related tags found
1 merge request!4Feature/new checkers
Pipeline #11567 passed
......@@ -57,6 +57,8 @@ import com.fasterxml.jackson.module.jsonSchema.customProperties.HyperSchemaFacto
*/
public class RefcoChecker extends Checker implements CorpusFunction {
private final String REFCO_CHECKER_VERSION="20220324";
// The local logger that can be used for debugging
private final Logger logger = Logger.getLogger(this.getClass().toString());
......@@ -686,6 +688,9 @@ public class RefcoChecker extends Checker implements CorpusFunction {
@Override
public Report function(Corpus c, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException {
if (refcoFileLoaded) {
report.addNote(getFunction(),"Report created by RefCo checker version " + REFCO_CHECKER_VERSION +
" based on documentation following RefCo " + criteria.refcoVersion +
" specification version");
System.out.println("... running the corpus function");
// Create the current report
//Report report = new Report();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment