diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-17 22:19:02 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-17 22:19:02 +0200 |
| commit | 869462070671b273ac528e075ac1c00a417cc8a0 (patch) | |
| tree | c6a98899ff9a7f86ab061730a5fdc9b52d787a2c /src/verify.cc | |
| parent | 0a8f2a1a2058f0461a7f978295e31af34a03bb40 (diff) | |
Make some not-so-important CPL read errors non-fatal (DoM #2797).v1.8.99
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 9715c020..112a5bb5 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2178,6 +2178,10 @@ dcp::note_to_string (VerificationNote note) return String::compose("The asset with ID %1 in the asset map actually has an id of %2", note.id().get(), note.other_id().get()); case VerificationNote::Code::EMPTY_CONTENT_VERSION_LABEL_TEXT: return String::compose("The <LabelText> in a <ContentVersion> in CPL %1 is empty", note.id().get()); + case VerificationNote::Code::INVALID_CPL_NAMESPACE: + return String::compose("The namespace %1 in CPL %2 is invalid", note.note().get(), note.file()->filename()); + case VerificationNote::Code::MISSING_CPL_CONTENT_VERSION: + return String::compose("The CPL %1 has no <ContentVersion> tag", note.note().get()); } return ""; |
