Remove xmlns:xs namespace from subtitle XML (DoM #2498).
[libdcp.git] / src / smpte_subtitle_asset.cc
index 6db90b2eeb4699440017273db77de303905cda51..3a58ba8e9830588bbb9aaaa39a41b040df441489 100644 (file)
@@ -381,7 +381,7 @@ SMPTESubtitleAsset::xml_as_string () const
 
        subtitles_as_xml (root->add_child("SubtitleList"), _time_code_rate, Standard::SMPTE);
 
-       return format_xml(doc, { {"", schema_namespace()}, {"xs", "http://www.w3.org/2001/XMLSchema"} });
+       return format_xml(doc, std::make_pair(string{}, schema_namespace()));
 }