From 152266f6e65451a03521eb04b6a406b6e309e17a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Sep 2024 23:42:58 +0200 Subject: Allow but give an error when seeing a strange PKL namespace. DoM bug #2868 reports that Resolve made a DCP with the PKL namespace http://www.smpte-ra.org/schemas/2067-2/2016/PKL This seems wrong (google suggests that this is the namespace for IMF PKLs) but let's accept it and log an error instead of throwing an exception. --- src/verify.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/verify.cc') diff --git a/src/verify.cc b/src/verify.cc index ec8925f2..e5d2511d 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2183,6 +2183,8 @@ dcp::note_to_string (VerificationNote note) 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 tag", note.note().get()); + case VerificationNote::Code::INVALID_PKL_NAMESPACE: + return String::compose("The namespace %1 in PKL %2 is invalid", note.note().get(), note.file()->filename()); } return ""; -- cgit v1.2.3