diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-21 23:08:20 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-21 23:08:20 +0000 |
| commit | 8c852cbececaa94e7efbb0e8508484e073b06c67 (patch) | |
| tree | 132c7da6266475034144703f108d3e43f73fe3cf /src/cpl.cc | |
| parent | 03246708c1ee9c5331eac7d058627655939e30d1 (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.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); |
