diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-28 23:05:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-01 23:43:00 +0200 |
| commit | e144eafe81f5c7ef51d3c4078a08e69b4e9a79e7 (patch) | |
| tree | a12c829770a49b9cd1d2764b50d1dbca1d1cdb65 /src/verify.h | |
| parent | 2105b40ff1841be7e4c33d5131e20ef5c086350b (diff) | |
INVALID_XML: note -> error.
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 9 |
1 files changed, 8 insertions, 1 deletions
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) { |
