Merge remote-tracking branch 'origin/main' into v1.9.x
[libdcp.git] / src / verify.cc
index a61c3a923fcca2dbc601413304abccc3aac8355d..cfcce04f0e64114d1312698f05003b5c38781aae 100644 (file)
@@ -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 "";