A PDF Test-Set for Well-Formedness Validation in JHOVE - The Good, the Bad and the Ugly

Loading...
Thumbnail Image
Date
2017
Volume
Issue
Journal
Series Titel
Book Title
Publisher
Zenodo
Link to publishers version
Abstract

Digital preservation and active software stewardship are both cyclical processes. While digital preservation strategies have to be reevaluated regularly to ensure that they still meet technological and organizational requirements, software needs to be tested with every new release to ensure that it functions correctly. JHOVE is an open source format validation tool which plays a central role in many digital preservation workflows and the PDF module is one of its most important features. Unlike tools such as Adobe PreFlight or veraPDF which check against requirements at profile level, JHOVE’s PDF-module is the only tool that can validate the syntax and structure of PDF files. Despite JHOVE’s widespread and long-standing adoption, the underlying validation rules are not formally or thoroughly tested, leading to bugs going undetected for a long time. Furthermore, there is no ground-truth data set which can be used to understand and test PDF validation at the structural level. The authors present a corpus of light-weight files designed to test the validation criteria of JHOVE’s PDF module against “well-formedness”. We conclude by measuring the code coverage of the test corpus within JHOVE PDF validation and by feeding detected inconsistencies of the PDF-module back into the open source development process.

Description
Keywords
digital preservation, file format validation, test data, quality assurance, JHOVE
Citation
Lindlar, M., Tunnat, Y., & Wilson, C. (2017). A PDF Test-Set for Well-Formedness Validation in JHOVE - The Good, the Bad and the Ugly. Zenodo. https://doi.org//10.5281/zenodo.1115541
License
CC BY 4.0 Unported