diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-09-05 01:51:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-01 00:22:09 +0200 |
| commit | 4e6637feaff73fcf6ed44a85b96a3b0f74180de9 (patch) | |
| tree | 77b4a5584ed059db91e19943ae70a273ad3c5c98 | |
| parent | c6d187747222c980e28a6e50196a85ee570990a7 (diff) | |
In 8c852cb the CPL root attribute "dsig" was removed (to prevent
'XML root element can contain only one namespace' errors)
In a266fc2 [Sony digest validation fix] this was (for some
unknown reason) re-added, which makes the root element bug recur.
This commit removes that namespace again.
It's a shame there was no unit test to pick this regression up.
| -rw-r--r-- | src/cpl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -140,10 +140,6 @@ CPL::write_xml (boost::filesystem::path file, Standard standard, shared_ptr<cons root = doc.create_root_node ("CompositionPlaylist", cpl_smpte_ns); } - if (signer) { - root->set_namespace_declaration ("http://www.w3.org/2000/09/xmldsig#", "dsig"); - } - root->add_child("Id")->add_child_text ("urn:uuid:" + _id); root->add_child("AnnotationText")->add_child_text (_metadata.annotation_text); root->add_child("IssueDate")->add_child_text (_metadata.issue_date); |
