summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-08 22:39:00 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit1e2e3a0a0eb6436d37a9bdf5058c6ac133b90001 (patch)
treeb26dc3033dc420a314e9b88a9e7327f317f1c0f6 /src/verify.h
parent990729f84f430dfa2788270474784011dc1f12e1 (diff)
Validate XML with xerces.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/verify.h b/src/verify.h
index 4007f8fb..9018ed46 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -75,10 +75,8 @@ public:
MISSING_ASSET,
/** The DCP contains both SMPTE and Interop-standard components */
MISMATCHED_STANDARD,
- /** A urn:uuid ID is badly formed */
- BAD_URN_UUID,
- /** A date is badly formed */
- BAD_DATE,
+ /** Some XML fails to validate against the XSD/DTD */
+ XML_VALIDATION_ERROR,
};
VerificationNote (Type type, Code code)
@@ -124,7 +122,8 @@ private:
std::list<VerificationNote> verify (
std::vector<boost::filesystem::path> directories,
boost::function<void (std::string, boost::optional<boost::filesystem::path>)> stage,
- boost::function<void (float)> progress
+ boost::function<void (float)> progress,
+ boost::filesystem::path xsd_dtd_directory
);
std::string note_to_string (dcp::VerificationNote note);