diff options
| -rw-r--r-- | src/verify.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc index 12c90264..4ae6c792 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1843,13 +1843,16 @@ void verify_assetmap( shared_ptr<const DCP> dcp, boost::filesystem::path xsd_dtd_directory, - vector<VerificationNote>& notes + vector<VerificationNote>& notes, + function<void (string)> log ) { auto asset_map = dcp->asset_map(); DCP_ASSERT(asset_map); + log("-> validate_xml"); validate_xml(asset_map->file().get(), xsd_dtd_directory, notes); + log("<- validate_xml"); set<string> uuid_set; for (auto const& asset: asset_map->assets()) { @@ -1942,7 +1945,8 @@ dcp::verify ( if (dcp->asset_map_file()) { stage("Checking ASSETMAP", dcp->asset_map_file().get()); - verify_assetmap(dcp, *xsd_dtd_directory, notes); + verify_assetmap(dcp, *xsd_dtd_directory, notes, log); + log("verify_assetmap returned"); } else { notes.push_back ({VerificationNote::Type::ERROR, VerificationNote::Code::MISSING_ASSETMAP}); } |
