summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-18 11:51:03 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-18 11:51:03 +0200
commit816365d20e0c6ef37b6bf499a42a0d3ecad22c05 (patch)
treee3ffd2029657ef0b316f729579077baf051f50a5 /src/verify.cc
parent3ab56573dbfb395fea493096182dc14c09fb961f (diff)
parent869462070671b273ac528e075ac1c00a417cc8a0 (diff)
Merge remote-tracking branch 'origin/main' into v1.9.x
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc
index a61c3a92..cfcce04f 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2203,6 +2203,10 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
return compose("The <LabelText> in a <ContentVersion> in CPL %1 is empty", note.cpl_id().get());
case VerificationNote::Code::VALID_CONTENT_VERSION_LABEL_TEXT:
return compose("CPL has valid <ContentVersion> %1", note.note().get());
+ case VerificationNote::Code::INVALID_CPL_NAMESPACE:
+ return compose("The namespace %1 in CPL %2 is invalid", note.note().get(), note.cpl_id().get());
+ case VerificationNote::Code::MISSING_CPL_CONTENT_VERSION:
+ return compose("The CPL %1 has no <ContentVersion> tag", note.cpl_id().get());
}
return "";