diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-09-05 01:51:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-09-05 01:51:11 +0100 |
| commit | bd33fb99cad08a688c58b7ab7237883cf6c39209 (patch) | |
| tree | 82a2b4186d7971f02798413f0d6a0895d514db72 /src | |
| parent | b578af0819126de2758687f9eae71dbcf5ed0325 (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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cpl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -148,10 +148,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); |
