From e9d132e1b8891693a0768711a7080d434e6ac792 Mon Sep 17 00:00:00 2001 From: Clemens Neudecker <952378+cneud@users.noreply.github.com> Date: Wed, 9 Dec 2020 22:41:55 +0100 Subject: [PATCH] upgrade to PAGE-XML 2019 (fixes https://github.com/qurator-spk/eynollah/issues/6) --- sbb_newspapers_org_image/eynollah.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbb_newspapers_org_image/eynollah.py b/sbb_newspapers_org_image/eynollah.py index d814889..48d454d 100644 --- a/sbb_newspapers_org_image/eynollah.py +++ b/sbb_newspapers_org_image/eynollah.py @@ -1453,9 +1453,9 @@ class eynollah: # create the file structure data = ET.Element("PcGts") - data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") + data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15") data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance") - data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") + data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15") metadata = ET.SubElement(data, "Metadata") @@ -1960,9 +1960,9 @@ class eynollah: # create the file structure data = ET.Element("PcGts") - data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") + data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15") data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance") - data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") + data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15") metadata = ET.SubElement(data, "Metadata")