'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.
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);