diff --git a/swh/deposit/tests/api/test_checks.py b/swh/deposit/tests/api/test_checks.py
--- a/swh/deposit/tests/api/test_checks.py
+++ b/swh/deposit/tests/api/test_checks.py
@@ -67,7 +67,21 @@
some url
bar
- no one
+
+ no one
+
+ {PROVENANCE_XML}
+
+ """,
+ ),
+ (
+ f"""\
+
+ some url
+ bar
+
+ should allow anything here
+
{PROVENANCE_XML}
""",
@@ -304,6 +318,22 @@
},
],
),
+ (
+ f"""\
+
+ some url
+ bar
+ no one
+ {PROVENANCE_XML}
+
+ """,
+ [
+ {
+ "summary": ".*Reason: character data between child elements.*",
+ "fields": ["codemeta:author"],
+ },
+ ],
+ ),
(
f"""\
diff --git a/swh/deposit/xsd/codemeta.xsd b/swh/deposit/xsd/codemeta.xsd
--- a/swh/deposit/xsd/codemeta.xsd
+++ b/swh/deposit/xsd/codemeta.xsd
@@ -17,5 +17,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+