From 8c852cbececaa94e7efbb0e8508484e073b06c67 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Mar 2018 23:08:20 +0000 Subject: 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" --- src/cpl.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/cpl.cc') 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_ptrset_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); -- cgit v1.2.3