Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123185
D7212.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D7212.diff
View Options
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 @@
<?xml version="1.0"?>
<entry xmlns="http://www.w3.org/2005/Atom"
- xmlns:schema="https://schema.org/"
+ xmlns:schema="http://schema.org/"
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit">
<title>Awesome stuff</title>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
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 = """<?xml version="1.0"?>
<entry xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"
- xmlns:schema="https://schema.org/">
+ xmlns:schema="http://schema.org/">
<swh:deposit>
{swh_deposit}
</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(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 2:03 AM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216936
Attached To
D7212: Fix URI of schema.org
Event Timeline
Log In to Comment