Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Brief outline of specifications to validate a Fedora 3 to OCFL migration.  The validationv validation tool should begin with coarser tests, then progressively handle finer-grained tests.

...

Validate: number of objects  (optional validation enabled by command line flag)

...

(tick)

Valid: number of objects in the OCFL repository is equal to the number of objects in the Fedora 3 repository

Validate: object IDs (tick)

(not done)

Valid: every object in the OCFL repository has the same ID as its corresponding object in the Fedora 3 repository.

...

  • lastModifiedDate (tick)
  • createdDate (tick)
  • ownerId (error) (tick)
  • label (error) (tick)state (error)
  • state (tick)

Note that Fedora 3 content models will be verified as part of the examination of the RELS-EXT datastream (lower-level validation). 

...

Valid: The version of the OCFL <DSID>.nt metadata  matches the same version of the Fedora 3<DSID> metadata\

F3 Type Key =  ("I" - Inline, "M" - managed "E" - external, "R" - redirect)

  • size (tick)  : M only
  • mimeType (error) (* hold off on this one)
  • state (tick) (lower priority if it is not trivial)
  • size (error)
  • mimeType (error)
  • state (error)
  • title (error)
  • identifier (DSID) (error) (tick)
  • lastModified (tick)
  • created (tick)
  • externally referenced content (URI) (error) (Type E and R only)


Validate: datastream size  (error)size

F3 managed (type "M") datastreams  ONLY  ((ie not inline XML):

Valid: the size of the version of the datastream in OCFL matches the size of the datastream on disk in the Fedora 3 repository  repository (tick)

Valid: the size of the version of the datastream in OCFL recorded in <DSID>.nt matches the size of the OCFL file on disk (error)


Validate:  datastream checksum (error) (tick)

F3 managed (type "M") datastreams  ONLY  ((ie not inline XML): (error) (tick)

Compare the F6 checksum with the corresponding checksum of the F3 datastream version. The latter will need to be generated using the same algo used for the F6 checksum.

Optional flag to allow users to skip this checksum validating step (as it may be resource/time intensive) :  checksumming is turned off by default .(tick)

Versions

Validate: object versions   (N/A)

...

Only validate the most recent version (error) (tick)

Command line flag for disabling non-head version checks. 

...

The results of a validation should provide a report that allows the user to understand an overall summary of the results,  lists of error types by count, the list of objects by error type,  summary of errors by object and detailed validation logs by object.

HTML (tick)

TSV (error) (tick)

Validate objects in list (error) (tick)

The user should be able to provide a list of object IDs to include in a validation routine.

...

The user should be able to instruct the validator to validate all objects in the repository.


(warning) Highest priority