From e144eafe81f5c7ef51d3c4078a08e69b4e9a79e7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 28 Mar 2026 23:05:15 +0100 Subject: INVALID_XML: note -> error. --- src/verify.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/verify.h') diff --git a/src/verify.h b/src/verify.h index ab7cd34b..515bbed5 100644 --- a/src/verify.h +++ b/src/verify.h @@ -157,7 +157,7 @@ public: /** The DCP contains both SMPTE and Interop-standard components */ MISMATCHED_STANDARD, /** Some XML fails to validate against its XSD/DTD - * note contains the (probably technical) details + * error contains the (probably technical) details * file contains the invalid filename * line contains the line number * reel_index contains the reel index (starting from 0), if applicable @@ -604,6 +604,13 @@ public: _data[Data::FILE] = file; } + VerificationNote(Code code, boost::filesystem::path file, uint64_t line) + : _code (code) + { + _data[Data::FILE] = file; + _data[Data::LINE] = line; + } + VerificationNote(Code code, std::string note, boost::filesystem::path file, uint64_t line) : _code (code) { -- cgit v1.2.3