diff --git a/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml b/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml --- a/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml +++ b/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml @@ -1,6 +1,6 @@ Awesome stuff urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a diff --git a/swh/deposit/tests/test_utils.py b/swh/deposit/tests/test_utils.py --- a/swh/deposit/tests/test_utils.py +++ b/swh/deposit/tests/test_utils.py @@ -113,7 +113,7 @@ def xml_swh_deposit_template(): xml_data = """ + xmlns:schema="http://schema.org/"> {swh_deposit} diff --git a/swh/deposit/utils.py b/swh/deposit/utils.py --- a/swh/deposit/utils.py +++ b/swh/deposit/utils.py @@ -24,7 +24,7 @@ "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0": "codemeta", "http://purl.org/net/sword/terms/": "sword", "https://www.softwareheritage.org/schema/2018/deposit": "swh", - "https://schema.org/": "schema", + "http://schema.org/": "schema", } data = xmltodict.parse(