digital-preservation / csv-validator

CSV Validation Tool and API (CSV Schema RI)
http://digital-preservation.github.io/csv-validator
Mozilla Public License 2.0
202 stars 54 forks source link

integrityCheck bug #100

Closed DavidUnderdown closed 8 years ago

DavidUnderdown commented 8 years ago

While validating the TNA transfer with redacted files, we tried to add an integrityCheck constraint to the schema as it appeared that references to some original files had been omitted from the metadata file.

integrityCheck was introduced in Pull Request #88 - it has one mandatory parameter, on the first two attempts to include integrityCheck the mandatory parameter was omitted in error, and the second time it wasn't quote wrapped as it should be. However, on both occasions the validator ran rather than reporting a schema error as should have occurred.

When the mandatory parameter was correctly included the validator reported PASS even though there were files in the content folder which were not referenced in the metadata.

DavidUnderdown commented 8 years ago

Resolved in final 1.1 release, commit 104ee5e