From 7c18fb5d05b8c00c36cf17198b1608de5ba419f5 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Thu, 19 Oct 2023 14:25:49 +0200
Subject: [PATCH] - updated file type mapping

---
 src/usr/local/bin/validate_workflow.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/usr/local/bin/validate_workflow.sh b/src/usr/local/bin/validate_workflow.sh
index 9408ef0..8f4a6c8 100755
--- a/src/usr/local/bin/validate_workflow.sh
+++ b/src/usr/local/bin/validate_workflow.sh
@@ -392,6 +392,18 @@ prepare_ftype() {
         "application/vnd.iccprofile")
             ftype="icc"
             ;;
+        "application/pdf")
+            ftype="pdf"
+            ;;
+        "text/xml")
+            ftype="xml"
+            ;;
+        "image/svg+xml")
+            ftype="xml"
+            ;;
+        "application/octet-stream")
+            ftype="ewf"
+            ;;
         *)
             warn "unknown file format with mime-type '${mimetype}'"
             ftype="???"
-- 
GitLab