artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

Add normative structmap and PREMIS 3 support #32

Closed jrwdunham closed 7 years ago

jrwdunham commented 7 years ago

In order to document empty directories metsrw uses a mets:structMap with TYPE "logical" and LABEL "Normative Directory Structure". This is done so that the TYPE "physical" structMap can continue to document the files and folders that are actually in the package. Since the BagIt spec requires removal of empty directories, this strategy allows for their removal while still documenting them in the normative structmap so that they can be recreated later, if necessary.