summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-21 23:08:20 +0000
committerCarl Hetherington <cth@carlh.net>2018-03-21 23:08:20 +0000
commit8c852cbececaa94e7efbb0e8508484e073b06c67 (patch)
tree132c7da6266475034144703f108d3e43f73fe3cf /src/cpl.cc
parent03246708c1ee9c5331eac7d058627655939e30d1 (diff)
Put xmlns:dsig on Signer and Signature rather than on the whole
CPL/PKL as a certain large distribution company's checkers don't like having multiple namespaces: "XML root element can contain only one namespace"
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index f807bc61..aa61ec7a 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -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);