UB-Mannheim / ocr-fileformat

Validate and transform various OCR file formats (hOCR, ALTO, PAGE, FineReader)
https://digi.bib.uni-mannheim.de/ocr-fileformat/
MIT License
176 stars 23 forks source link

ocr-transform: set -e before running saxon/transform scripts #126

Closed kba closed 4 years ago

kba commented 4 years ago

The calls to saxon or the transform shell script should exit on error to prevent downstream tools from procecssing further if no/empty output was produced.

Fixes OCR-D/ocrd_fileformat#10

stweil commented 4 years ago

Thank you.