-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When processing a file, the .error and .output files are empty.
Example file test.ttl (extracted from DBpedia v1 -- line 3 is missing a > to close the object):
<http://dbpedia.org/resource/%C3%96sterreichische_Nationalbibliothek> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Building> .
<http://dbpedia.org/resource/%C3%96sterreichische_Nationalbibliothek> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Library> .
<http://dbpedia.org/resource/%C3%96sterreichische_Postsparkasse> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/DepositoryFinancialInstitutio .
<http://dbpedia.org/resource/%C3%96sterreichring> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Circuit> .
<http://dbpedia.org/resource/%C3%96stersunds_FK> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Club> .
Running RDF-Doctor with java -jar RDFDoctor.jar -i test.ttl it prints only the following (no Correction Report):
test.error
test.output
Processing is going on
Total elapsed time: 278 ms
Number of processed lines: 6
The files test.output and test.error are created but empty.
If running with the -j option (everything else being the same), test.output is still empty, but test.error contains:
[{"errorMessage":"line 3:115 token recognition error at: '<http://dbpedia.org/class/yago/DepositoryFinancialInstitutio .\\n'\n<http://dbpedia.org/resource/%C3%96sterreichische_Postsparkasse> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/DepositoryFinancialInstitutio .\n\n ^ ","errorNumber":1},{"errorMessage":"line 4:50 Missing '.' at the end of a triple\n<http://dbpedia.org/resource/%C3%96sterreichring> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Circuit> .\n\n ^ ","errorNumber":2},{"errorMessage":"line 4:140 Object of a triple is missing\n<http://dbpedia.org/resource/%C3%96sterreichring> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/Circuit> .\n\n ^ ","errorNumber":3}]
Metadata
Metadata
Assignees
Labels
No labels