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) (error) (tick)

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

Validate: object IDs (error) (tick)

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)state (error)  (lower priority if it is not trivial) (tick)
  • state (tick)

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

...

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

  • size (error) (tick)  : M only (certainly)
  • mimeType (error) (* hold off on this one)
  • state (error)  (tick) (lower priority if it is not trivial)
  • title (error)
  • identifier (DSID) (tick)
  • lastModified (tick)
  • created (tick)

For external and redirect references (F3 "type" value = E,R ): 

Verify the external reference (URIs) match between F3 → F6. 

...

  • externally referenced content (URI) (error) (Type E and R only)


Validate: datastream 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

Valid: the F3 size (as recorded in the metadata) of the version of the datastream matches the  OCFL file size (on disk)

(error)


Validate:  datastream checksum (error) (warning) (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) (warning) (tick)

Validate objects in list (error)  (warning) (tick)

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

...