Validators Comparison
This document is also available in
Word format.
This comparison shows what each of three NIMAS fileset validators check for in XML, OPF, and images files comprising a valid fileset according to the NIMAS v1.1 technical specification: the
Bookshare NIMAS Validator, the
DAISY Pipeline DTBook Validator, and the
NIMAC Validation Wizard.
Table format comparison
| Component | NIMAC Validator | Bookshare NIMAS Validator | DAISY Pipeline DTBook Validator |
|---|---|---|---|
| DTD referenced in XML source file declaration | | ||
| XML file valid to referenced DTD | | ||
| OPF file valid to referenced DTD | | ||
| XML source file structure | | ||
| XML source file present in fileset | | | |
| OPF file present in fileset | | ||
| images/images folder present in fileset | | ||
| PDF file present in fileset | |||
| Files referenced in XML present in fileset | |||
| Files referenced in OPF present in fileset | | ||
| Elements used have opening and closing tags | | ||
| Invalid character errors | |||
| Page numbers present | |||
| Page numbers numeric | |||
| Page numbers sequential | |||
| Files conform: ZedVal | | ||
| Numerous additional items according to the required specifications | |
Text format comparison
This comparison includes the NIMAC Validator, the Bookshare NIMAS Validator, and the DAISY Pipeline DTBook Validator. All three validators check for conformance to the required DTD: making sure both that the DTD is present in the declaration of the XML source file and in the OPF metadata file, and that the content of the files are valid to the referenced specification.
The DAISY Pipeline DTBook Validator also checks the overall structure of the XML source file.
All three validators check that required files are present in the fileset and all files listed in the OPF manifest are part of the fileset.
The NIMAC Validator and the DAISY Pipeline DTBook Validator check that all files referenced throughout the XML source file are present in the fileset. The NIMAC Validator and the DAISY Pipeline DTBook Validator check for invalid characters in the XML source file.
The Bookshare NIMAS Validator checks XML source file page numbering: that page numbers are present, numeric, and sequential.
DAISY Pipeline DTBook Validator checks for file conformance to ZedVal and to numerous additional items according to the required specifications.
Graphic format comparison
