summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-23 23:42:58 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-23 23:42:58 +0200
commit152266f6e65451a03521eb04b6a406b6e309e17a (patch)
tree0ebf358010ba72fdec87e8c64bdceea5a05b2925 /src/verify.cc
parentadae04e0984d294aa9a95394bfed584ce7e93469 (diff)
Allow but give an error when seeing a strange PKL namespace.v1.8.110
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.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc2
1 files changed, 2 insertions, 0 deletions
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 <ContentVersion> 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 "";