Skip to content
Snippets Groups Projects
Commit 0014a1e8 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

r2022.1

parent effe3162
Branches
Tags
1 merge request!1r2022.1
......@@ -41,20 +41,21 @@ use warnings;
use feature qw( say signatures );
no warnings "experimental::signatures";
use utf8; # for debugging output
use constant DEBUG => 0; # no debug
use Carp;
use Path::Tiny;
use File::Basename qw(basename);
use File::Find;
use XML::LibXML;
use Time::Progress;
use XML::LibXML::XPathContext;
use DBD::SQLite;
use DBI;
use File::Basename qw(basename);
use File::Find;
use Getopt::Long;
use IO::Handle;
use List::Util qw(any);
use Path::Tiny;
use Pod::Usage;
use constant DEBUG => 0; # no debug
use Time::Progress;
use XML::LibXML::XPathContext;
use XML::LibXML;
use IO::Handle;
STDOUT->autoflush(1);
# guarantee, that output will be UTF8
binmode(STDOUT, ":encoding(UTF-8)");
......@@ -273,7 +274,6 @@ sub check_if_db_conform ($string, $filename) {
}#
return;
}
{
my $xp;
sub get_xpath_context {
......@@ -310,6 +310,9 @@ sub check_if_db_conform ($string, $filename) {
}
}
###############################################################################
#
# /mets:mets/mets:dmdSec[1]/mets:mdWrap[1]/mets:xmlData[1]/dc:record[1]/dc:title[1]
......@@ -320,28 +323,30 @@ sub check_if_db_conform ($string, $filename) {
# Files via /mets:mets/mets:fileSec[1]/mets:fileGrp[1]/mets:file[1]/mets:FLocat[1]
#
###############################################################################
{
my $compiled_xpath_titles = XML::LibXML::XPathExpression->new('/mets:mets/mets:dmdSec/mets:mdWrap[1]/mets:xmlData[1]/dc:record/dc:title[1]');
my $compiled_xpath_dcrecords = XML::LibXML::XPathExpression->new('/mets:mets/mets:dmdSec/mets:mdWrap/mets:xmlData/dc:record/*');
my $compiled_xpath_dmdSec = XML::LibXML::XPathExpression->new('/mets:mets/mets:dmdSec');
my $compiled_xpath_amdSec = XML::LibXML::XPathExpression->new('/mets:mets/mets:amdSec[starts-with(@ID, \'REP\')]');
my $compiled_xpath_fileSec = XML::LibXML::XPathExpression->new('/mets:mets/mets:fileSec');
my $compiled_xpath_titles = XML::LibXML::XPathExpression->new('mets:mdWrap[1]/mets:xmlData[1]/dc:record/dc:title[1]');
my $compiled_xpath_files = XML::LibXML::XPathExpression->new("mets:file/mets:FLocat/\@xlin:href");
my $compiled_xpath_dcrecords = XML::LibXML::XPathExpression->new('mets:mdWrap/mets:xmlData/dc:record/*');
my $compiled_xpath_repid = XML::LibXML::XPathExpression->new('/mets:mets/mets:amdSec[starts-with(@ID, \'REP\')]/@ID');
my $str_local_record = "mets:techMD/mets:mdWrap/mets:xmlData/*[local-name()=\'dnx\']/*[local-name()=\'section\']/*[local-name()=\'record\']";
my $str_local_reps = "$str_local_record/*[local-name()=\'key\' and \@id=\'label\' and (. = \'LOCAL\' or . = \'LZA_INTERN\' or . = \'LZA\')]";
my $str_repid_old = "/mets:mets/mets:amdSec[starts-with(\@ID, \'REP\') and $str_local_reps]/\@ID";
my $compiled_xpath_repid_old = XML::LibXML::XPathExpression->new($str_repid_old);
my $compiled_xpath_ifpurged_event = XML::LibXML::XPathExpression->new('/mets:mets/mets:amdSec[@ID="ie-amd"]/mets:digiprovMD[@ID="ie-amd-digiprov"]/mets:mdWrap/mets:xmlData/dnx:dnx/dnx:section[@id="event"]/dnx:record[dnx:key[@id="eventIdentifierValue"]/. = 272 or . = 274]/dnx:key[@id="eventDescription"]/text()');
############################################################
sub get_title ($xp, $filename){
sub get_title ($xp, $dmd){
# get title
my $title = $xp->findvalue($compiled_xpath_titles);
#check_if_db_conform($title, $filename);
my $title = $xp->findvalue($compiled_xpath_titles, $dmd);
return $title;
}
sub get_dcrecords_ref ($xp, $filename){
my @dcnodes = $xp->findnodes($compiled_xpath_dcrecords);
sub get_dcrecords_ref ($xp, $dmd){
my @dcnodes = $xp->findnodes($compiled_xpath_dcrecords, $dmd);
my @dcrecords = map {
$_->[1]=~ s/\n/ /g;
$_->[1]=~ tr/\n/ /;
$_->[1] =~ s/'/\\'/g;
#check_if_db_conform($_->[1], $filename);
$_;
} grep {
defined $_->[0] &&
......@@ -353,7 +358,7 @@ sub check_if_db_conform ($string, $filename) {
return \@dcrecords;
}
sub get_repid ($xp, $filename){
sub get_repid ($xp){
my $repid;
my @repnodes = $xp->findnodes($compiled_xpath_repid); #/mets:mets/mets:amdSec/@ID
my $found = scalar @repnodes;
......@@ -367,30 +372,49 @@ sub check_if_db_conform ($string, $filename) {
return $repid;
}
sub get_files_ref ($xp, $filename, $repid){
my @files_nodes = $xp->findnodes("/mets:mets/mets:fileSec/mets:fileGrp[\@ADMID='$repid']/mets:file/mets:FLocat/\@xlin:href");
sub get_files_ref ($xp, $fsp, $repid){
my $filegrp = $xp->findnodes("mets:fileGrp[\@ADMID='$repid']", $fsp)->[0];
my @files_nodes = $xp->findnodes($compiled_xpath_files, $filegrp);
my @files = map { my $tmp= $_->nodeValue; $tmp=~ s#//#/#g; $tmp } @files_nodes;
return \@files;
}
sub has_purged_entry($xp, $amd) {
# we need to earch for eventIdentifierValue 272 or 274.
# the eventDescription should be
# a) IE has been deleted
# b) IE has been purged
my @del_nodes = $xp->findvalue($compiled_xpath_ifpurged_event, $amd);
return (List::Util::any {$_ =~ m/^IE has been (deleted|purged)$/} @del_nodes);
}
sub parse_iexml($filename, $recovery_flag) {
if ($recovery_flag) {
$recovery_flag = 2; # avoid warnings, see XML::LibXML::Parser POD about 'recovery'
}
my $parser = get_parser($recovery_flag);
my $dom = $parser->parse_file($filename);
my $xp = get_xpath_context(); $xp->setContextNode($dom);
my $xp = get_xpath_context();
$xp->setContextNode($dom);
my $dmdsec = $xp->findnodes($compiled_xpath_dmdSec)->[0];
my $amdsec = $xp->findnodes($compiled_xpath_amdSec)->[0];
my $filesec= $xp->findnodes($compiled_xpath_fileSec)->[0];
############################################
# get title
my $title = get_title($xp, $filename);
my $title = get_title($xp, $dmdsec);
############################################
# get dc-records
my $dcrecords_ref = get_dcrecords_ref($xp, $filename);
my $dcrecords_ref = get_dcrecords_ref($xp, $dmdsec);
############################################
# get right representation ID (has a dnx-section with <key id=label>LOCAL</key>)
my $repid = get_repid($xp, $filename);
my $repid = get_repid($xp);
if (!defined $repid) {
say STDERR "No repid found in file $filename, is IE purged?";
say STDERR "No repid found in file $filename, is IE intentionally purged?";
if (has_purged_entry($xp, $amdsec)) {
say STDERR " Yes, a corresponding purge event is found.";
} else {
say STDERR " No, a corresponding purge event was missed. This indicates an error in archive.";
}
my $tmp;
$tmp->{"filename"} = $filename;
$tmp->{"purged"} = 1;
......@@ -398,7 +422,7 @@ sub check_if_db_conform ($string, $filename) {
}
############################################
# get all files of LOCAL representation
my $files_ref = get_files_ref ($xp, $filename, $repid);
my $files_ref = get_files_ref($xp, $filesec, $repid);
my $ret;
$ret->{"filename" } = $filename;
$ret->{"title"} = $title;
......@@ -406,9 +430,10 @@ sub check_if_db_conform ($string, $filename) {
$ret->{"files"} = $files_ref;
$ret->{"dcrecords"} = $dcrecords_ref;
return $ret;
}
}
# returns count of subdirs of $dir
sub searching_relevant_subdirs ($dir) {
my $first_two_levels_of_dirs = 0;
###
......@@ -465,7 +490,7 @@ sub searching_ie_files ($dirs_ref, $tmp_ies_unsorted_file) {
$pass++;
my $first_two_levels_of_dirs = searching_relevant_subdirs($dir);
my $count = searching_relevant_ie_files($dir, $tmp_ies_unsorted_file, $first_two_levels_of_dirs);
say "found $count IEs in pass $pass/$maxpass ($dir) ";
say "found $count IEs in pass $pass/$maxpass (dir '$dir') ";
$cnt_unsorted_files+=$count;
}
say "\r ";
......@@ -489,8 +514,8 @@ GetOptions(
say <<"HELP";
call $0 with following options
--help ............... this help
--recovery ........... set special recovery flag
--continue ........... tries to add IEs to existing database, ignores IEs which already exists (dangerous!)
--recovery ........... set special recovery flag, if set deleted IEs will be ignored
--continue ........... tries to add IEs to existing database, ignores IEs which already exists in DB (dangerous!)
--sqlitedb-file=FILE . set database to file FILE
--enable-sqldump ..... dumps a given database as SQL to STDOUT
......
<?xml version="1.0" encoding="UTF-8"?>
<mets:mets xmlns:mets="http://www.loc.gov/METS/">
<mets:dmdSec ID="ie-dmd">
<mets:mdWrap MDTYPE="DC">
<mets:xmlData>
<dc:record xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:goobi="http://meta.goobi.org/v1.5.1/" xmlns:xlin="http://www.w3.org/1999/xlink" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:archive="http://slub-dresden.de/slubarchiv">
<dc:identifier>SLUB:LZA:Kitodo:goobi:202001030001</dc:identifier>
<dc:coverage>DE-14</dc:coverage>
<dc:coverage>Hist.Sax.M.37.t,120</dc:coverage>
<dc:relation>Saxonica</dc:relation>
<dc:identifier>oai:de:slub-dresden:db:id-319037843</dc:identifier>
<dc:format xmlns:srw_dc="info:srw/schema/1/dc-schema" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">[1] Bl.</dc:format>
<dc:identifier xmlns:srw_dc="info:srw/schema/1/dc-schema" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">goobi:202001030001</dc:identifier>
<dc:identifier xmlns:srw_dc="info:srw/schema/1/dc-schema" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">urn:nbn:de:bsz:14-db-id3190378431</dc:identifier>
<dc:identifier xmlns:srw_dc="info:srw/schema/1/dc-schema" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">: UTF8-Test: Ae: Ä, Oe: Ö, ue: ü, sz: ß, long-s: ſ, euro: €</dc:identifier>
<dc:title>Eingabe der Handelskammer zu Leipzig den Entwurf eines Tabak-Steuer-Gesetzes betr.
an den Reichstag zu Berlin</dc:title>
<dc:language>de</dc:language>
<dc:date>1893</dc:date>
<dc:subject>eingdehaz</dc:subject>
</dc:record>
</mets:xmlData>
</mets:mdWrap>
</mets:dmdSec>
<mets:amdSec ID="REP200929-amd">
<mets:techMD ID="REP200929-amd-tech">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="generalRepCharacteristics">
<record>
<key id="label">LZA_INTERN</key>
<key id="preservationType">PRESERVATION_MASTER</key>
<key id="usageType">VIEW</key>
<key id="RevisionNumber">1</key>
<key id="DigitalOriginal">true</key>
</record>
</section>
<section id="internalIdentifier">
<record>
<key id="internalIdentifierType">SIPID</key>
<key id="internalIdentifierValue">12406</key>
</record>
<record>
<key id="internalIdentifierType">PID</key>
<key id="internalIdentifierValue">REP200929</key>
</record>
<record>
<key id="internalIdentifierType">DepositSetID</key>
<key id="internalIdentifierValue">16144</key>
</record>
</section>
<section id="objectCharacteristics">
<record>
<key id="objectType">REPRESENTATION</key>
<key id="creationDate">2020-01-03 16:15:01</key>
<key id="createdBy">Goobi_SMA</key>
<key id="modificationDate">2020-01-03 16:17:48</key>
<key id="modifiedBy">su-bolkun</key>
<key id="owner">CRS00.SLUB.GOOBI</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:techMD>
<mets:rightsMD ID="REP200929-amd-rights">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx"/>
</mets:xmlData>
</mets:mdWrap>
</mets:rightsMD>
<mets:digiprovMD ID="REP200929-amd-digiprov">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx"/>
</mets:xmlData>
</mets:mdWrap>
</mets:digiprovMD>
</mets:amdSec>
<mets:amdSec ID="FL200931-amd">
<mets:techMD ID="FL200931-amd-tech">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="objectCharacteristics">
<record>
<key id="objectType">FILE</key>
<key id="creationDate">2020-01-03 16:15:01</key>
<key id="createdBy">Goobi_SMA</key>
<key id="modificationDate">2020-01-03 16:17:48</key>
<key id="modifiedBy">su-bolkun</key>
<key id="owner">CRS00.SLUB.GOOBI</key>
</record>
</section>
<section id="internalIdentifier">
<record>
<key id="internalIdentifierType">SIPID</key>
<key id="internalIdentifierValue">12406</key>
</record>
<record>
<key id="internalIdentifierType">PID</key>
<key id="internalIdentifierValue">FL200931</key>
</record>
<record>
<key id="internalIdentifierType">DepositSetID</key>
<key id="internalIdentifierValue">16144</key>
</record>
</section>
<section id="fileVirusCheck">
<record>
<key id="status">PASSED</key>
<key id="agent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
</record>
</section>
<section id="vsOutcome">
<record>
<key id="checkDate">2020-01-03 16:15:06</key>
<key id="type">VIRUSCHECK</key>
<key id="vsAgent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:06</key>
<key id="type">CHECKSUM</key>
<key id="vsAgent">REG_SA_JAVA5_FIXITY</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:13</key>
<key id="type">FILE_FORMAT</key>
<key id="vsAgent">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:14</key>
<key id="type">TECHMD</key>
<key id="vsAgent">current checkit_tiff:
'/operational_shared/software/checkit_tiff_current' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)upcoming checkit_tiff:
'/operational_shared/software/checkit_tiff_upcoming' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)</key>
<key id="result">FAILED</key>
<key id="resultDetails">Error/s returned during metadata extraction</key>
<key id="vsEvaluation">FAILED</key>
<key id="vsEvaluationDetails">vs_Error.768</key>
</record>
</section>
<section id="fileFixity">
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">MD5</key>
<key id="fixityValue">622d089a3fb914d8311f0e4fe30cab2f</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">CRC32</key>
<key id="fixityValue">b462b977</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA1</key>
<key id="fixityValue">482d4f12da6052dc145adf6adfdcc87d3afca85a</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA256</key>
<key id="fixityValue">5bfe4ce320cf7eeb598d6177966711393745812df56a75dab0f9f057f399004a</key>
</record>
<record>
<key id="agent">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="pluginName">CustomFixitySHA512Plugin</key>
<key id="fixityType">SHA512</key>
<key id="fixityValue">fe0349a065f7e04b7445d318b05021450a114617924e9cba05b99c4e665912b05881a1ad89a9639832c6fd0317babd94d14799e33756d46e6164742e2bbe36ce</key>
</record>
</section>
<section id="fileFormat">
<record>
<key id="agent">REG_SA_DROID</key>
<key id="formatRegistry">PRONOM</key>
<key id="formatRegistryId">fmt/353</key>
<key id="formatName">fmt/353</key>
<key id="formatDescription">Tagged Image File Format</key>
<key id="exactFormatIdentification">true</key>
<key id="mimeType">image/tiff</key>
<key id="agentVersion">6.4</key>
<key id="agentSignatureVersion">Binary SF v.95/ Container SF v.24</key>
<key id="identificationMethod">SIGNATURE</key>
<key id="formatLibraryVersion">6.0095</key>
</record>
</section>
<section id="generalFileCharacteristics">
<record>
<key id="label">FILE_0001_LZA</key>
<key id="fileModificationDate">2020-01-03 16:14:59</key>
<key id="fileLocationType">FILE</key>
<key id="fileOriginalName">00000001.tif</key>
<key id="fileOriginalPath">file://images/scans_tif/00000001.tif</key>
<key id="fileOriginalID">/deposit_storage/16001-17000/dep_16144/deposit/content/streams/data/images/scans_tif/00000001.tif</key>
<key id="fileExtension">tif</key>
<key id="fileMIMEType">image/tiff</key>
<key id="fileSizeBytes">1357440</key>
<key id="formatLibraryId">fmt/353</key>
</record>
</section>
<section id="significantProperties">
<record>
<key id="significantPropertiesType">tiff.grayresponseunit</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">icc.primaryplatform</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.maxsamplevalue</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.samplesperpixel</key>
<key id="significantPropertiesValue">3</key>
</record>
<record>
<key id="significantPropertiesType">icc.profilecreator</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">icc.profiledatetime</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.whitepoint</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.pagenumber</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">icc.profileversion</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">icc.profilecalibrationdatetime</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.imagedescription</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.bitspersample</key>
<key id="significantPropertiesValue">8 8 8</key>
</record>
<record>
<key id="significantPropertiesType">icc.profilecmmtype</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.software</key>
<key id="significantPropertiesValue">ImageMagick 6.2.4 02/10/07 Q16 http://www.imagemagick.org</key>
</record>
<record>
<key id="significantPropertiesType">icc.colorspacedata</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">image.yresolution</key>
<key id="significantPropertiesValue">75</key>
</record>
<record>
<key id="significantPropertiesType">tiff.make</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">image.height</key>
<key id="significantPropertiesValue">1007</key>
</record>
<record>
<key id="significantPropertiesType">image.xresolution</key>
<key id="significantPropertiesValue">75</key>
</record>
<record>
<key id="significantPropertiesType">icc.devicemodel</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.copyright</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.documentname</key>
<key id="significantPropertiesValue">00000001.tif</key>
</record>
<record>
<key id="significantPropertiesType">icc.profilecopyright</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">image.width</key>
<key id="significantPropertiesValue">656</key>
</record>
<record>
<key id="significantPropertiesType">tiff.primarychromaticities</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.photometricinterpretation</key>
<key id="significantPropertiesValue">RGB</key>
</record>
<record>
<key id="significantPropertiesType">tiff.minsamplevalue</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.model</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.grayresponsecurve</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">tiff.compression</key>
<key id="significantPropertiesValue">LZW</key>
</record>
<record>
<key id="significantPropertiesType">tiff.datetime</key>
<key id="significantPropertiesValue">2010:12:22 15:53:09</key>
</record>
<record>
<key id="significantPropertiesType">icc.makeandmodel</key>
<key id="significantPropertiesValue">not found</key>
</record>
<record>
<key id="significantPropertiesType">icc.profiledescription</key>
<key id="significantPropertiesValue">not found</key>
</record>
</section>
<section id="fileValidation">
<record>
<key id="agent">current checkit_tiff:
'/operational_shared/software/checkit_tiff_current' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)upcoming checkit_tiff:
'/operational_shared/software/checkit_tiff_upcoming' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)</key>
<key id="pluginName">SLUBTechnicalMetadataExtractorCheckItTiffPlugin</key>
<key id="format">TIFF</key>
<key id="version">6 (baseline + SLUB extensions)</key>
<key id="mimeType">image/tiff</key>
<key id="isValid">false</key>
<key id="isWellFormed">false</key>
<key id="errorMessage">'/operational_shared/software/checkit_tiff_upcoming' version: v0.5.2
, revision: 480
,licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
,cfg_file=/operational_shared/software/cit_tiff6_baseline_SLUB_upcoming.cfg
,tiff file/dir=/operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,file: /operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,(EE) tag 317 (Predictor) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 315 (Artist) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 259 (Compression) --> Tag should have one exact value. Unexpected tag value.; found: 5 (lineno: 36)
,(EE) tag 282 (XResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 63)
,(EE) tag 283 (YResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 66)
,(EE) tag 34675 (ICC Profile) --> ICC profile should be valid; Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE) tag 34675 (ICC Profile) --> Tag should have a valid and correct type. Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE)Found 7 errors
,(EE)No; the given tif is not valid :(
,
,
,'/operational_shared/software/checkit_tiff_current' version: v0.5.2
, revision: 480
,licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
,cfg_file=/operational_shared/software/cit_tiff6_baseline_SLUB_current.cfg
,tiff file/dir=/operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,file: /operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,(EE) tag 317 (Predictor) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 315 (Artist) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 259 (Compression) --> Tag should have one exact value. Unexpected tag value.; found: 5 (lineno: 36)
,(EE) tag 282 (XResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 63)
,(EE) tag 283 (YResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 66)
,(EE) tag 34675 (ICC Profile) --> ICC profile should be valid; Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE) tag 34675 (ICC Profile) --> Tag should have a valid and correct type. Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE)Found 7 errors
,(EE)No; the given tif is not valid :(
,
,</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:techMD>
<mets:rightsMD ID="FL200931-amd-rights">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx"/>
</mets:xmlData>
</mets:mdWrap>
</mets:rightsMD>
<mets:digiprovMD ID="FL200931-amd-digiprov">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="event">
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">24</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Virus check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=7;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=MD5;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=00000001.tif;DATE=03 01 2020 16:15:06;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=CRC32;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=00000001.tif;DATE=03 01 2020 16:15:06;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA1;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=00000001.tif;DATE=03 01 2020 16:15:06;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA256;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=00000001.tif;DATE=03 01 2020 16:15:06;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:06</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA512;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=00000001.tif;DATE=03 01 2020 16:15:06;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:13</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">25</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Format Identification performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="eventOutcomeDetail1">FORMAT_ID=fmt/353;IDENTIFICATION_METHOD=SIGNATURE;FILE_EXTENSION=tif;DEPOSIT_ACTIVITY_ID=16144;PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=48;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">165</key>
<key id="eventOutcome1">FAILURE</key>
<key id="eventDescription">Technical Metadata extraction performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">current checkit_tiff:
'/operational_shared/software/checkit_tiff_current' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)upcoming checkit_tiff:
'/operational_shared/software/checkit_tiff_upcoming' version: v0.5.2 revision: 480licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200931;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=49;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:17:48</key>
<key id="eventType">PROCESSING</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">405</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventOutcomeDetail1">key:FORMAT_ID;value:fmt/353;key:ERROR_TYPE;value:'/operational_shared/software/checkit_tiff_upcoming' version: v0.5.2
, revision: 480
,licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
,cfg_file=/operational_shared/software/cit_tiff6_baseline_SLUB_upcoming.cfg
,tiff file/dir=/operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,file: /operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,(EE) tag 317 (Predictor) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 315 (Artist) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 259 (Compression) --> Tag should have one exact value. Unexpected tag value.; found: 5 (lineno: 36)
,(EE) tag 282 (XResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 63)
,(EE) tag 283 (YResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 66)
,(EE) tag 34675 (ICC Profile) --> ICC profile should be valid; Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE) tag 34675 (ICC Profile) --> Tag should have a valid and correct type. Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE)Found 7 errors
,(EE)No; the given tif is not valid :(
,
,
,'/operational_shared/software/checkit_tiff_current' version: v0.5.2
, revision: 480
,licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
,cfg_file=/operational_shared/software/cit_tiff6_baseline_SLUB_current.cfg
,tiff file/dir=/operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,file: /operational_storage/storage1/2020/01/03/file_1/V1-FL200931.tif
,(EE) tag 317 (Predictor) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 315 (Artist) --> Tag needs to be whitelisted in configuration; but isn't. (lineno: -1)
,(EE) tag 259 (Compression) --> Tag should have one exact value. Unexpected tag value.; found: 5 (lineno: 36)
,(EE) tag 282 (XResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 63)
,(EE) tag 283 (YResolution) --> Tag should have a value in a range of Unexpected tag value.; found: found value 75.000000 (lineno: 66)
,(EE) tag 34675 (ICC Profile) --> ICC profile should be valid; Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE) tag 34675 (ICC Profile) --> Tag should have a valid and correct type. Tag expected.; found: tag 34675 is missing (lineno: 214)
,(EE)Found 7 errors
,(EE)No; the given tif is not valid :(
,
,
;key:FILE_EXTENSION;value:tif;key:REASON_CODE;value:Problem not relevant for preservation:;key:DEPOSIT_ACTIVITY_ID;value:16144;key:PID;value:FL200931;key:SIP_ID;value:12406;key:PRODUCER_ID;value:69214;key:MF_ID;value:8002505;</key>
<key id="eventDescription">Manually ignore file md error</key>
<key id="linkingAgentIdentifierType1">USER</key>
<key id="linkingAgentIdentifierValue1">su-bolkun</key>
<key id="linkingAgentRole1">agent</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:digiprovMD>
</mets:amdSec>
<mets:amdSec ID="FL200930-amd">
<mets:techMD ID="FL200930-amd-tech">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="objectCharacteristics">
<record>
<key id="objectType">FILE</key>
<key id="creationDate">2020-01-03 16:15:01</key>
<key id="createdBy">Goobi_SMA</key>
<key id="modificationDate">2020-01-03 16:15:20</key>
<key id="modifiedBy">Goobi_SMA</key>
<key id="owner">CRS00.SLUB.GOOBI</key>
</record>
</section>
<section id="internalIdentifier">
<record>
<key id="internalIdentifierType">SIPID</key>
<key id="internalIdentifierValue">12406</key>
</record>
<record>
<key id="internalIdentifierType">PID</key>
<key id="internalIdentifierValue">FL200930</key>
</record>
<record>
<key id="internalIdentifierType">DepositSetID</key>
<key id="internalIdentifierValue">16144</key>
</record>
</section>
<section id="fileVirusCheck">
<record>
<key id="status">PASSED</key>
<key id="agent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
</record>
</section>
<section id="vsOutcome">
<record>
<key id="checkDate">2020-01-03 16:15:14</key>
<key id="type">VIRUSCHECK</key>
<key id="vsAgent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:14</key>
<key id="type">CHECKSUM</key>
<key id="vsAgent">REG_SA_JAVA5_FIXITY</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:14</key>
<key id="type">FILE_FORMAT</key>
<key id="vsAgent">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:16</key>
<key id="type">TECHMD</key>
<key id="vsAgent">JHOVE 1.17.0, XML-hul 1.4 , Plugin Version 5.0</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
</section>
<section id="fileFixity">
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">MD5</key>
<key id="fixityValue">f627161d13618cd53daa923e225b098d</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">CRC32</key>
<key id="fixityValue">4bb071bf</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA1</key>
<key id="fixityValue">d9b1fba8edb3f51656d3a37c44a54fe83a71290e</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA256</key>
<key id="fixityValue">baba8e1470023965a4ee60eb82f5d344563cd1374ab1d03c5e66e1d71b3df0a1</key>
</record>
<record>
<key id="agent">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="pluginName">CustomFixitySHA512Plugin</key>
<key id="fixityType">SHA512</key>
<key id="fixityValue">f6d720f432674b7a428d305c778a5fa1caf02bf4ca9b38e60e90525369b63a694cb146e2c0ef88649df8c96e46880f842e94702539cb19433ba060799924e96c</key>
</record>
</section>
<section id="fileFormat">
<record>
<key id="agent">REG_SA_DROID</key>
<key id="formatRegistry">PRONOM</key>
<key id="formatRegistryId">fmt/101</key>
<key id="formatName">fmt/101</key>
<key id="formatVersion">1</key>
<key id="formatDescription">Extensible Markup Language</key>
<key id="exactFormatIdentification">true</key>
<key id="mimeType">application/xml,text/xml</key>
<key id="agentVersion">6.4</key>
<key id="agentSignatureVersion">Binary SF v.95/ Container SF v.24</key>
<key id="identificationMethod">SIGNATURE</key>
<key id="formatLibraryVersion">6.0095</key>
</record>
</section>
<section id="generalFileCharacteristics">
<record>
<key id="label">FILE_0000_LZA</key>
<key id="fileModificationDate">2020-01-03 16:14:59</key>
<key id="fileLocationType">FILE</key>
<key id="fileOriginalName">eingdehaz_319037843_mets.xml</key>
<key id="fileOriginalPath">file://eingdehaz_319037843_mets.xml</key>
<key id="fileOriginalID">/deposit_storage/16001-17000/dep_16144/deposit/content/streams/data/eingdehaz_319037843_mets.xml</key>
<key id="fileExtension">xml</key>
<key id="fileMIMEType">application/xml,text/xml</key>
<key id="fileSizeBytes">12158</key>
<key id="formatLibraryId">fmt/101</key>
</record>
</section>
<section id="significantProperties">
<record>
<key id="significantPropertiesType">text.encoding</key>
<key id="significantPropertiesValue">utf-8</key>
</record>
<record>
<key id="significantPropertiesType">xml.namespaces</key>
<key id="significantPropertiesValue">[Prefix=mods ;URI=http://www.loc.gov/mods/v3 ;Prefix=dv ;URI=http://dfg-viewer.de/ ;Prefix=slub ;URI=http://slub-dresden.de/ ;Prefix=mets ;URI=http://www.loc.gov/METS/ ;Prefix=xsi ;URI=http://www.w3.org/2001/XMLSchema-instance ;Prefix=xlink ;URI=http://www.w3.org/1999/xlink]</key>
</record>
<record>
<key id="significantPropertiesType">xml.namespacePrefix</key>
<key id="significantPropertiesValue">mods</key>
</record>
<record>
<key id="significantPropertiesType">xml.namespaceURI</key>
<key id="significantPropertiesValue">http://www.loc.gov/mods/v3</key>
</record>
<record>
<key id="significantPropertiesType">xml.parser</key>
<key id="significantPropertiesValue">org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser</key>
</record>
<record>
<key id="significantPropertiesType">xml.schemaRoot</key>
<key id="significantPropertiesValue">mets:mets</key>
</record>
<record>
<key id="significantPropertiesType">xml.schemaNamespaceURI</key>
<key id="significantPropertiesValue">http://www.loc.gov/METS/</key>
</record>
</section>
<section id="fileValidation">
<record>
<key id="agent">JHOVE 1.17.0, XML-hul 1.4 , Plugin Version 5.0</key>
<key id="pluginName">XML-hul-1.17</key>
<key id="format">XML</key>
<key id="version">1.0</key>
<key id="mimeType">text/xml</key>
<key id="isValid">true</key>
<key id="isWellFormed">true</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:techMD>
<mets:rightsMD ID="FL200930-amd-rights">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx"/>
</mets:xmlData>
</mets:mdWrap>
</mets:rightsMD>
<mets:digiprovMD ID="FL200930-amd-digiprov">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="event">
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">24</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Virus check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=7;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=MD5;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=eingdehaz_319037843_mets.xml;DATE=03 01 2020 16:15:14;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=CRC32;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=eingdehaz_319037843_mets.xml;DATE=03 01 2020 16:15:14;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA1;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=eingdehaz_319037843_mets.xml;DATE=03 01 2020 16:15:14;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA256;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=eingdehaz_319037843_mets.xml;DATE=03 01 2020 16:15:14;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA512;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=eingdehaz_319037843_mets.xml;DATE=03 01 2020 16:15:14;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:14</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">25</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Format Identification performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="eventOutcomeDetail1">FORMAT_ID=fmt/101;IDENTIFICATION_METHOD=SIGNATURE;FILE_EXTENSION=xml;DEPOSIT_ACTIVITY_ID=16144;PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=48;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:16</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">165</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Technical Metadata extraction performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">JHOVE 1.17.0, XML-hul 1.4 , Plugin Version 5.0</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200930;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=49;PROCESS_ID=;MF_ID=8002505;</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:digiprovMD>
</mets:amdSec>
<mets:amdSec ID="FL200932-amd">
<mets:techMD ID="FL200932-amd-tech">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="objectCharacteristics">
<record>
<key id="objectType">FILE</key>
<key id="creationDate">2020-01-03 16:15:01</key>
<key id="createdBy">Goobi_SMA</key>
<key id="modificationDate">2020-01-03 16:15:20</key>
<key id="modifiedBy">Goobi_SMA</key>
<key id="owner">CRS00.SLUB.GOOBI</key>
</record>
</section>
<section id="internalIdentifier">
<record>
<key id="internalIdentifierType">SIPID</key>
<key id="internalIdentifierValue">12406</key>
</record>
<record>
<key id="internalIdentifierType">PID</key>
<key id="internalIdentifierValue">FL200932</key>
</record>
<record>
<key id="internalIdentifierType">DepositSetID</key>
<key id="internalIdentifierValue">16144</key>
</record>
</section>
<section id="fileVirusCheck">
<record>
<key id="status">PASSED</key>
<key id="agent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
</record>
</section>
<section id="vsOutcome">
<record>
<key id="checkDate">2020-01-03 16:15:17</key>
<key id="type">VIRUSCHECK</key>
<key id="vsAgent">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:17</key>
<key id="type">CHECKSUM</key>
<key id="vsAgent">REG_SA_JAVA5_FIXITY</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:17</key>
<key id="type">FILE_FORMAT</key>
<key id="vsAgent">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
<record>
<key id="checkDate">2020-01-03 16:15:20</key>
<key id="type">TECHMD</key>
<key id="vsAgent">mediaconch:
MediaConch Command Line Interface 18.03.2</key>
<key id="result">PASSED</key>
<key id="vsEvaluation">PASSED</key>
</record>
</section>
<section id="fileFixity">
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">MD5</key>
<key id="fixityValue">615e48668d5afe04cd2c31356126bccb</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">CRC32</key>
<key id="fixityValue">69373b05</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA1</key>
<key id="fixityValue">73852c1393516b590956fb3bbba14124d4ac502e</key>
</record>
<record>
<key id="agent">REG_SA_JAVA5_FIXITY</key>
<key id="fixityType">SHA256</key>
<key id="fixityValue">fc73e60a2e953ed1f13b9f697dbfc72a347a29cf4e9a1b52ee94d90c123ccb3f</key>
</record>
<record>
<key id="agent">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="pluginName">CustomFixitySHA512Plugin</key>
<key id="fixityType">SHA512</key>
<key id="fixityValue">5f4f2095e4bc666cd114a94a8f9ee9ee438d02c1a95e92148bdb7b88e239d47e02dc8ddbb1b6c69da0646cb51945947696cc4f8c8bc0138c25853ad137f245f6</key>
</record>
</section>
<section id="fileFormat">
<record>
<key id="agent">REG_SA_DROID</key>
<key id="formatRegistry">PRONOM</key>
<key id="formatRegistryId">fmt/569</key>
<key id="formatName">fmt/569</key>
<key id="formatDescription">Matroska</key>
<key id="exactFormatIdentification">true</key>
<key id="agentVersion">6.4</key>
<key id="agentSignatureVersion">Binary SF v.95/ Container SF v.24</key>
<key id="identificationMethod">SIGNATURE</key>
<key id="formatLibraryVersion">6.0095</key>
</record>
</section>
<section id="generalFileCharacteristics">
<record>
<key id="label">FILE_0002_LZA</key>
<key id="fileModificationDate">2020-01-03 16:14:59</key>
<key id="fileLocationType">FILE</key>
<key id="fileOriginalName">valid_film8mm.mkv</key>
<key id="fileOriginalPath">file://images/scans_tif/valid_film8mm.mkv</key>
<key id="fileOriginalID">/deposit_storage/16001-17000/dep_16144/deposit/content/streams/data/images/scans_tif/valid_film8mm.mkv</key>
<key id="fileExtension">mkv</key>
<key id="fileSizeBytes">6971182</key>
<key id="formatLibraryId">fmt/569</key>
</record>
</section>
<section id="fileValidation">
<record>
<key id="agent">mediaconch:
MediaConch Command Line Interface 18.03.2</key>
<key id="pluginName">SLUBTechnicalMetadataExtractorMediaConchPlugin_Tanzarchiv-validation-only</key>
<key id="format">FFV1/Matroska</key>
<key id="version">FFV1 v3, Matroska v1.4 (Pronom PUID: fmt/569)</key>
<key id="mimeType">video/x-matroska</key>
<key id="isValid">true</key>
<key id="isWellFormed">true</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:techMD>
<mets:rightsMD ID="FL200932-amd-rights">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx"/>
</mets:xmlData>
</mets:mdWrap>
</mets:rightsMD>
<mets:digiprovMD ID="FL200932-amd-digiprov">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="event">
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">24</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Virus check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">ClamAV 0.100.3/25682/Thu Jan 2 10:53:48 2020</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=7;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=MD5;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=valid_film8mm.mkv;DATE=03 01 2020 16:15:17;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=CRC32;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=valid_film8mm.mkv;DATE=03 01 2020 16:15:17;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA1;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=valid_film8mm.mkv;DATE=03 01 2020 16:15:17;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_JAVA5_FIXITY</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA256;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=valid_film8mm.mkv;DATE=03 01 2020 16:15:17;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">27</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Fixity check performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">Custom fixity SHA512, Plugin Version 1.0</key>
<key id="eventOutcomeDetail1">IE_PID=IE200928;COPY_ID=null;ALGORITHM_NAME=SHA512;DEPOSIT_ACTIVITY_ID=16144;FILE_PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;FILE_NAME=valid_film8mm.mkv;DATE=03 01 2020 16:15:17;STATUS=SUCCESS;REP_PID=REP200929;TASK_ID=1;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:17</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">25</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Format Identification performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">REG_SA_DROID , Version 6.4 , Signature version Binary SF v.95/ Container SF v.24</key>
<key id="eventOutcomeDetail1">FORMAT_ID=fmt/569;IDENTIFICATION_METHOD=SIGNATURE;FILE_EXTENSION=mkv;DEPOSIT_ACTIVITY_ID=16144;PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=48;PROCESS_ID=;MF_ID=8002505;</key>
</record>
<record>
<key id="eventDateTime">2020-01-03 16:15:20</key>
<key id="eventType">VALIDATION</key>
<key id="eventIdentifierType">DPS</key>
<key id="eventIdentifierValue">165</key>
<key id="eventOutcome1">SUCCESS</key>
<key id="eventDescription">Technical Metadata extraction performed on file</key>
<key id="linkingAgentIdentifierType1">SOFTWARE</key>
<key id="linkingAgentIdentifierValue1">mediaconch:
MediaConch Command Line Interface 18.03.2</key>
<key id="eventOutcomeDetail1">DEPOSIT_ACTIVITY_ID=16144;PID=FL200932;SIP_ID=12406;PRODUCER_ID=69214;TASK_ID=49;PROCESS_ID=;MF_ID=8002505;</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:digiprovMD>
</mets:amdSec>
<mets:amdSec ID="ie-amd">
<mets:techMD ID="ie-amd-tech">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="internalIdentifier">
<record>
<key id="internalIdentifierType">SIPID</key>
<key id="internalIdentifierValue">12406</key>
</record>
<record>
<key id="internalIdentifierType">PID</key>
<key id="internalIdentifierValue">IE200928</key>
</record>
<record>
<key id="internalIdentifierType">DepositSetID</key>
<key id="internalIdentifierValue">16144</key>
</record>
</section>
<section id="objectCharacteristics">
<record>
<key id="objectType">INTELLECTUAL_ENTITY</key>
<key id="creationDate">2020-01-03 16:15:01</key>
<key id="createdBy">Goobi_SMA</key>
<key id="modificationDate">2020-01-03 16:17:48</key>
<key id="modifiedBy">su-bolkun</key>
<key id="owner">CRS00.SLUB.GOOBI</key>
</record>
</section>
<section id="generalIECharacteristics">
<record>
<key id="status">ACTIVE</key>
<key id="Version">1</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:techMD>
<mets:rightsMD ID="ie-amd-rights">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="accessRightsPolicy">
<record>
<key id="policyId">AR_EVERYONE</key>
<key id="policyDescription">No restrictions</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:rightsMD>
<mets:sourceMD ID="ie-amd-source-1">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="archive">
<mets:xmlData>
<archive:record version="v2017.1" xmlns:archive="http://slub-dresden.de/slubarchiv" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<archive:exportToArchiveDate>20200103T120000.00</archive:exportToArchiveDate>
<archive:externalId>202001030001</archive:externalId>
<archive:externalWorkflow>goobi</archive:externalWorkflow>
<archive:hasConservationReason>true</archive:hasConservationReason>
<archive:archivalValueDescription>the GOOBI workflow produces retro digized images</archive:archivalValueDescription>
</archive:record>
</mets:xmlData>
</mets:mdWrap>
</mets:sourceMD>
<mets:sourceMD ID="ie-amd-source-2">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dvrights">
<mets:xmlData>
<dv:rights xmlns:dv="http://dfg-viewer.de/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dv:owner>Sächsische Landesbibliothek - Staats- und Universitätsbibliothek
Dresden</dv:owner>
<dv:ownerLogo>http://digital.slub-dresden.de/fileadmin/images/dfgviewer_logo_slub.gif</dv:ownerLogo>
<dv:ownerSiteURL>http://www.slub-dresden.de/</dv:ownerSiteURL>
<dv:ownerContact>mailto:sebastian.meyer@slub-dresden.de</dv:ownerContact>
</dv:rights>
</mets:xmlData>
</mets:mdWrap>
</mets:sourceMD>
<mets:sourceMD ID="ie-amd-source-3">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dvlinks">
<mets:xmlData>
<dv:links xmlns:dv="http://dfg-viewer.de/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dv:reference>http://dienste.slub-dresden.de/cgi-bin/FOZK.pl?PPN=319037843</dv:reference>
<dv:presentation>http://digital.slub-dresden.de/id319037843</dv:presentation>
</dv:links>
</mets:xmlData>
</mets:mdWrap>
</mets:sourceMD>
<mets:digiprovMD ID="ie-amd-digiprov">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="dnx">
<mets:xmlData>
<dnx xmlns="http://www.exlibrisgroup.com/dps/dnx">
<section id="producer">
<record>
<key id="address1">Zellescher Weg 18</key>
<key id="address3">Dresden</key>
<key id="address4">Germany</key>
<key id="defaultLanguage">en</key>
<key id="emailAddress">rosetta-exl@slub-dresden.de</key>
<key id="firstName">INS_SLUB</key>
<key id="lastName">DEP_INS_SLUB_GOOBI</key>
<key id="telephone1">0351-4677216</key>
<key id="authorativeName">P_Goobi_Trusted</key>
<key id="producerId">69214</key>
<key id="userIdAppId">68663</key>
<key id="zip">01059</key>
</record>
</section>
<section id="producerAgent">
<record>
<key id="firstName">Goobi</key>
<key id="lastName">SMA</key>
</record>
</section>
</dnx>
</mets:xmlData>
</mets:mdWrap>
</mets:digiprovMD>
</mets:amdSec>
<mets:fileSec>
<mets:fileGrp ID="REP200929" ADMID="REP200929-amd">
<mets:file ID="FL200931" ADMID="FL200931-amd">
<mets:FLocat LOCTYPE="URL" xlin:href="/permanent_storage/2020/01/03/IE200928//V1-FL200931.tif" xmlns:xlin="http://www.w3.org/1999/xlink"/>
</mets:file>
<mets:file ID="FL200930" ADMID="FL200930-amd">
<mets:FLocat LOCTYPE="URL" xlin:href="/permanent_storage/2020/01/03/IE200928//V1-FL200930.xml" xmlns:xlin="http://www.w3.org/1999/xlink"/>
</mets:file>
<mets:file ID="FL200932" ADMID="FL200932-amd">
<mets:FLocat LOCTYPE="URL" xlin:href="/permanent_storage/2020/01/03/IE200928//V1-FL200932.mkv" xmlns:xlin="http://www.w3.org/1999/xlink"/>
</mets:file>
</mets:fileGrp>
</mets:fileSec>
<mets:structMap ID="REP200929-1" TYPE="PHYSICAL">
<mets:div LABEL="Preservation Master">
<mets:div LABEL="Table of Contents">
<mets:div LABEL="FILE_0000_LZA" TYPE="FILE">
<mets:fptr FILEID="FL200930"/>
</mets:div>
<mets:div LABEL="FILE_0001_LZA" TYPE="FILE">
<mets:fptr FILEID="FL200931"/>
</mets:div>
<mets:div LABEL="FILE_0002_LZA" TYPE="FILE">
<mets:fptr FILEID="FL200932"/>
</mets:div>
</mets:div>
</mets:div>
</mets:structMap>
</mets:mets>
\ No newline at end of file
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE aip (
id INTEGER,
ie_id TEXT NOT NULL,
version INTEGER NOT NULL,
PRIMARY KEY(id AUTOINCREMENT)
);
INSERT INTO aip VALUES(1,'IE200928',1);
CREATE TABLE metadatafile (
id INTEGER,
aip_id INTEGER NOT NULL REFERENCES aip (id),
location TEXT NOT NULL,
sourcetype TEXT NOT NULL,
PRIMARY KEY(id AUTOINCREMENT)
);
INSERT INTO metadatafile VALUES(1,1,'V1-IE200928.xml','hdd');
CREATE TABLE dc (
id INTEGER,
aip_id INTEGER NOT NULL REFERENCES aip (id),
element TEXT NOT NULL,
value TEXT NOT NULL,
PRIMARY KEY(id AUTOINCREMENT)
);
INSERT INTO dc VALUES(1,1,'dc:identifier','SLUB:LZA:Kitodo:goobi:202001030001');
INSERT INTO dc VALUES(2,1,'dc:coverage','DE-14');
INSERT INTO dc VALUES(3,1,'dc:coverage','Hist.Sax.M.37.t,120');
INSERT INTO dc VALUES(4,1,'dc:relation','Saxonica');
INSERT INTO dc VALUES(5,1,'dc:identifier','oai:de:slub-dresden:db:id-319037843');
INSERT INTO dc VALUES(6,1,'dc:format','[1] Bl.');
INSERT INTO dc VALUES(7,1,'dc:identifier','goobi:202001030001');
INSERT INTO dc VALUES(8,1,'dc:identifier','urn:nbn:de:bsz:14-db-id3190378431');
INSERT INTO dc VALUES(9,1,'dc:identifier',': UTF8-Test: Ae: Ä, Oe: Ö, ue: ü, sz: ß, long-s: ſ, euro: €');
INSERT INTO dc VALUES(10,1,'dc:title','Eingabe der Handelskammer zu Leipzig den Entwurf eines Tabak-Steuer-Gesetzes betr. an den Reichstag zu Berlin');
INSERT INTO dc VALUES(11,1,'dc:language','de');
INSERT INTO dc VALUES(12,1,'dc:date','1893');
INSERT INTO dc VALUES(13,1,'dc:subject','eingdehaz');
CREATE TABLE sourcedatafile (
id INTEGER,
aip_id INTEGER NOT NULL REFERENCES aip (id),
name TEXT NOT NULL,
PRIMARY KEY(id AUTOINCREMENT)
);
INSERT INTO sourcedatafile VALUES(1,1,'V1-FL200931.tif');
INSERT INTO sourcedatafile VALUES(2,1,'V1-FL200930.xml');
INSERT INTO sourcedatafile VALUES(3,1,'V1-FL200932.mkv');
CREATE TABLE sourcedatalocat (
id INTEGER,
file_id INTEGER NOT NULL REFERENCES sourcedatafile (id),
location TEXT NOT NULL,
sourcetype TEXT NOT NULL,
PRIMARY KEY(id AUTOINCREMENT)
);
INSERT INTO sourcedatalocat VALUES(1,1,'/permanent_storage/2020/01/03/IE200928/V1-FL200931.tif','hdd');
INSERT INTO sourcedatalocat VALUES(2,2,'/permanent_storage/2020/01/03/IE200928/V1-FL200930.xml','hdd');
INSERT INTO sourcedatalocat VALUES(3,3,'/permanent_storage/2020/01/03/IE200928/V1-FL200932.mkv','hdd');
DELETE FROM sqlite_sequence;
INSERT INTO sqlite_sequence VALUES('aip',1);
INSERT INTO sqlite_sequence VALUES('metadatafile',1);
INSERT INTO sqlite_sequence VALUES('sourcedatafile',3);
INSERT INTO sqlite_sequence VALUES('sourcedatalocat',3);
INSERT INTO sqlite_sequence VALUES('dc',13);
CREATE UNIQUE INDEX aip_index on aip (ie_id, version);
CREATE UNIQUE INDEX sourcedata_index on sourcedatafile (aip_id, name);
COMMIT;
#!/usr/bin/perl
use strict;
use warnings;
use Test::More;
use Test::Cmd;
use Path::Tiny;
my $test = Test::Cmd->new(
prog => 'perl/exit_strategy.pl',
interpreter => "/usr/bin/perl",
workdir => "",
);
#################### help
my $expected = path(Test::Cmd::here())->child('perl')->child('t')->child('expected.sql')->slurp();
$test->run(args => '-h');
like( $test->stdout, qr/call .*exit_strategy.pl with following options/, 'help, standard out' );
is( $test->stderr, "", 'help, standard error' );
is( $? >> 8, 0, 'help, exit status' );
#################### parsing
my $tmp = $test->workdir("");
my $current_db = "$tmp/sqlite.db";
$test->run(args => "--sqlitedb-file=$current_db perl/t/");
like( $test->stdout, qr{preparing SQL.*processed 1 uniq IEs}s, 'sqldump, standard out' );
is( $test->stderr, "", 'sqldump, standard error' );
is( $? >> 8, 0, 'sqldump, exit status' );
##################### after parsing dump SQL
$test->run(args => "--sqlitedb-file=$current_db --enable-sqldump");
is( $test->stdout, $expected, 'sqldump, standard out' );
is( $test->stderr, "", 'sqldump, standard error' );
is( $? >> 8, 0, 'sqldump, exit status' );
done_testing();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment