summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-31 23:38:46 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit7c9d62fc64ca6d66a34063d2d01988d800b770c8 (patch)
tree94de796fd6f309413ae421b046b04414d627069b /src/verify.cc
parente567f3569669aa23675a31beff18228da57c123b (diff)
INVALID_{CPL,PKL}_NAMESPACE: note -> xml_namespace.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 08b85d3d..40087346 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2211,11 +2211,11 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
case VerificationNote::Code::VALID_CONTENT_VERSION_LABEL_TEXT:
return compose("CPL has valid <ContentVersion> %1", *note.content_version());
case VerificationNote::Code::INVALID_CPL_NAMESPACE:
- return compose("The namespace %1 in CPL %2 is invalid", note.note().get(), note.cpl_id().get());
+ return compose("The namespace %1 in CPL %2 is invalid", *note.xml_namespace(), note.cpl_id().get());
case VerificationNote::Code::MISSING_CPL_CONTENT_VERSION:
return compose("The CPL %1 has no <ContentVersion> tag", note.cpl_id().get());
case VerificationNote::Code::INVALID_PKL_NAMESPACE:
- return compose("The namespace %1 in PKL %2 is invalid", note.note().get(), note.file()->filename());
+ return compose("The namespace %1 in PKL %2 is invalid", *note.xml_namespace(), note.file()->filename());
}
return "";